app/controllers/extface/handler_controller.rb in extface-0.2.0 vs app/controllers/extface/handler_controller.rb in extface-0.2.1

- old
+ new

@@ -71,12 +71,12 @@ p "Processing job #{job.id}" list, data = r.blpop(job.id, timeout: 1) while data response.stream.write data r.publish(job.id, "OK") - if (Time.now - start) > 3.seconds - p "Will continue next time" - #break + if (Time.now - start) > 1.8.seconds + p "############ Will continue next time" + break end list, data = r.blpop(job.id, timeout: 1) end end end #redis block