1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Shut down the worker pool - don't kill it

Different parts of concurrent-ruby's documentation make inconsistent
claims about how kill will behave. It doesn't do the thing we want.
This commit is contained in:
Matthew Draper 2016-10-03 05:38:25 +10:30
parent 4f8e336c44
commit a92fa72600

View file

@ -25,7 +25,7 @@ module ActionCable
# Stop processing work: any work that has not already started
# running will be discarded from the queue
def halt
@executor.kill
@executor.shutdown
end
def stopping?