Limiting task run time in Dagster #18153
Unanswered
yuval-airis
asked this question in
Q&A
Replies: 1 comment
-
Hello please take a look at https://docs.dagster.io/deployment/run-monitoring#general-run-timeouts for configuring a timeout on a job. Also see this discussion for another approach using a sensor to detect the long running job: #12463 Finally this is another possible approach that may work for your use case using
In the code above we reset the timeout if there is any log output, so we only kill the process after 5 minutes of no output. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that occasionally, unclear to me exactly when, certain runs in my flow take forever (Possibly corrupted somehow).
Can I cap the runtime of each task somehow in dagster and make every computation that didn't finish by that time stop and fail?
Beta Was this translation helpful? Give feedback.
All reactions