examples/echo_worker.rb in pigato-0.4.2 vs examples/echo_worker.rb in pigato-0.4.3
- old
+ new
@@ -17,9 +17,11 @@
if !request.nil?
worker.reply request
else
sleep 0.1
end
+ sleep 40
+ worker.start
end
}
end
ts.each do |to|