https://dagster.io/ logo
#ask-community
Title
# ask-community
g

Gatsby Lee

06/01/2023, 6:52 PM
Hello, I have a question. Is there a way not to queue new run if the previous run hasn’t completed yet?
c

claire

06/01/2023, 9:04 PM
No built in way to my knowledge--whats the use case here?
g

Gatsby Lee

06/01/2023, 9:35 PM
thank you for your comment.
I have a dagster job that runs every 15min. The run uses k8s as backend. sometimes, the previous run doesn’t even start due to the lack of resource in k8s. and the following job just added into queue. In the worst case, there are lots of runs waiting in queue.
c

claire

06/01/2023, 10:08 PM
That makes sense. Unfortunately the queued run coordinator doesn't support this, I'd recommend filing an issue. I think if you wanted to implement this, you'd have to create a custom run coordinator
👍 1
g

Gatsby Lee

06/01/2023, 10:10 PM
oh. I didn’t know that it’s possible to build a custom run coordinator.
thank you!! I will research about it.
🌈 1
5 Views