Hey y'all, has anyone experienced this? If the ecs job is pending for more than 120 seconds, I get a crashed alert when I go to the UI, and I see the flow started 2m18s late, yet the flow is completed. How can I extend this timeout?
RuntimeError: Timed out after 120.82966995239258s while watching task for status RUNNING
✅ 1
j
James Gatter
08/24/2023, 7:25 PM
I think I have. If you have a large docker image, it can take a while for the container to spin up. In the ECS block or whatever we're supposed to use these days, there should be a timeout setting. I would bump that up.
James Gatter
08/24/2023, 7:26 PM
For my ECS block from months ago this field is "Task Start Timeout Seconds"
v
Vishnu Duggirala
08/25/2023, 1:52 PM
That worked, Thanks @James Gatter, for some reason I did not see that while setting up my block.
🙌 1
j
James Gatter
08/28/2023, 1:30 PM
I didn't either! It's not at the top of the settings list so Prefect had to point it out to me. Glad it solved your problem too!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.