lib/celluloid/pool_manager.rb in celluloid-0.12.4.pre vs lib/celluloid/pool_manager.rb in celluloid-0.12.4.pre2
- old
+ new
@@ -91,10 +91,10 @@
# Provision a new worker
def __provision_worker
while @idle.empty?
# Wait for responses from one of the busy workers
response = exclusive { receive { |msg| msg.is_a?(Response) } }
- Thread.current[:celluloid_actor].handle_message(response)
+ Thread.current[:actor].handle_message(response)
end
worker = @idle.shift
@busy << worker