https://dagster.io/ logo
s

Steve Pletcher

03/02/2021, 9:47 PM
what's the behavior of sensors and schedules when execution gets stalled? like if you have a sensor running every 30 seconds and execution takes >30secs? i can't find this covered in the docs
p

prha

03/02/2021, 9:49 PM
Hi Steve, by execution do you mean evaluation of the sensor, or do you mean execution of the pipeline resulting from a sensor evaluation?
s

Steve Pletcher

03/02/2021, 9:50 PM
the former - basically the process of generating a list of run requests
p

prha

03/02/2021, 9:51 PM
Ah, gotcha. We have it running in a loop in the same process, so the interval might actually be longer than 30 seconds, in practice.
s

Steve Pletcher

03/02/2021, 9:52 PM
so the thirty second gap between evaluations begins counting when an evaluation concludes?
p

prha

03/02/2021, 9:52 PM
Yes
s

Steve Pletcher

03/02/2021, 9:53 PM
got it, that helps a lot. thank you!
p

prha

03/02/2021, 9:53 PM
a successful evaluation (resulting in either a run request, or skip) will write a record to our tick history, and we make sure that the next evaluation is at least the specified minimum interval after that last tick