lib/em-synchrony/connection_pool.rb in em-synchrony-0.1.5 vs lib/em-synchrony/connection_pool.rb in em-synchrony-0.2.0

- old
+ new

@@ -41,11 +41,11 @@ acquire(fiber) end end # Release connection assigned to the supplied fiber and - # resume any other pending connections (which will + # resume any other pending connections (which will # immediately try to run acquire on the pool) def release(fiber) @available.push(@reserved.delete(fiber.object_id)) if pending = @pending.pop @@ -71,10 +71,10 @@ if async fiber = Fiber.current df.callback { release(fiber) } df.errback { release(fiber) } end - + df end end end