Skip to content

Commit

Permalink
Drain new synaptor queues when user cancels
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlu committed Jul 2, 2024
1 parent 1814272 commit 15d663e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions slackbot/cancel_run_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def cancel_run(msg):
drain_messages(broker_url, "custom-gpu")
drain_messages(broker_url, "chunkflow")
drain_messages(broker_url, "synaptor")
drain_messages(broker_url, "synaptor-cpu-tasks")
drain_messages(broker_url, "synaptor-gpu-tasks")
drain_messages(broker_url, "synaptor-seggraph-tasks")
drain_messages(broker_url, "deepem-gpu")
time.sleep(10)

Expand Down

0 comments on commit 15d663e

Please sign in to comment.