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:
parent
4f8e336c44
commit
a92fa72600
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue