Skip to content

Commit

Permalink
disable sigint for monitoring task
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubwro committed Jan 28, 2024
1 parent 9cb46b5 commit 2fcaa55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pubsub/subscribe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function _start_tasks(f::Function, sub_stats::Stats, conn_stats::Stats, spawn::B
errormonitor(subscription_task)
end

subscription_monitoring_task = Threads.@spawn :interactive begin
subscription_monitoring_task = Threads.@spawn :interactive disable_sigint() do
while isopen(subscription_channel) || Base.n_avail(subscription_channel) > 0
sleep(monitoring_throttle_seconds)
# Warn about too many handlers running.
Expand Down

0 comments on commit 2fcaa55

Please sign in to comment.