examples/echo_worker.rb in pigato-0.2.2 vs examples/echo_worker.rb in pigato-0.2.3

- old
+ new

@@ -3,11 +3,11 @@ require "rubygems" require "#{File.dirname(__FILE__)}/../lib/pigato.rb" #require "pigato" worker = Pigato::Worker.new('tcp://localhost:55555', 'echo') -reply = nil loop do + reply = nil request = worker.recv reply worker.reply request end