Skip to content

Commit

Permalink
Merge git://github.com/ssoroka/em-synchrony
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Mar 22, 2011
2 parents 337866b + 2becf13 commit 1b932c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/em-synchrony/connection_pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def acquire(fiber)
def release(fiber)
@available.push(@reserved.delete(fiber.object_id))

if pending = @pending.pop
if pending = @pending.shift
pending.resume
end
end
Expand Down

0 comments on commit 1b932c9

Please sign in to comment.