mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Oops! These changes should not have been committed to the pull request.
This commit is contained in:
parent
b784cb7f18
commit
f56ed3c4b8
1 changed files with 1 additions and 2 deletions
|
@ -87,9 +87,9 @@ module Puma
|
|||
@waiting += 1
|
||||
not_full.signal
|
||||
not_empty.wait mutex
|
||||
@waiting -= 1
|
||||
end
|
||||
|
||||
@waiting -= 1
|
||||
work = todo.shift if continue
|
||||
end
|
||||
|
||||
|
@ -128,7 +128,6 @@ module Puma
|
|||
|
||||
if @waiting < @todo.size and @spawned < @max
|
||||
spawn_thread
|
||||
@waiting+=1
|
||||
end
|
||||
|
||||
@not_empty.signal
|
||||
|
|
Loading…
Add table
Reference in a new issue