https://prefect.io logo
Title
t

Theo Sjöstedt

04/20/2023, 8:31 AM
Hi! We are using Prefect Cloud on GCP set up accoring to @Anna M Geller s blog post here https://medium.com/the-prefect-blog/gcp-and-prefect-cloud-from-docker-container-to-cloud-vm-on-google-compute-engine-2dffa026d16b How ever, after a flow running for one hour, Cloud Run times out, and the job stops. Questions: 1. Is there anyway around this 1hr timeout? 2. When it times out the flow gets status = Successful, which its not correct. Any way to fix that?
r

redsquare

04/20/2023, 9:11 AM
cloud run has a max of 60mins
t

Theo Sjöstedt

04/20/2023, 9:44 AM
So there is physically no way of having a flow last more then an hour then?
r

redsquare

04/20/2023, 9:50 AM
You may need cloud run jobs vs service
t

Theo Sjöstedt

04/24/2023, 7:00 PM
🤔 What do you mean with service? Is there another GCP product I can use?
r

redsquare

04/24/2023, 7:01 PM
There is cloud run jobs and service, apparently
t

Theo Sjöstedt

04/25/2023, 6:00 AM
Oh it seems like you are right... It would be nice to be able to run the "main" flow as a service, and subflows as jobs