1
0
Fork 0
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:
Emanuel Rietveld 2015-01-20 14:23:17 +01:00
parent b784cb7f18
commit f56ed3c4b8

View file

@ -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