1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Process requests fairly. Fixes #406

This commit is contained in:
Evan Phoenix 2014-01-25 12:43:30 -08:00
parent 8b987eda4a
commit 49e917a33d

View file

@ -84,7 +84,7 @@ module Puma
@waiting -= 1
end
work = todo.pop if continue
work = todo.shift if continue
end
break unless continue