lib/jcukeforker/task_manager.rb in jcukeforker-0.2.3 vs lib/jcukeforker/task_manager.rb in jcukeforker-0.2.4
- old
+ new
@@ -33,13 +33,9 @@
def pop_task(worker_path)
task = @tasks.shift || '__KILL__'
task = task.to_json if task.is_a? Hash
- if task.empty?
- puts "-----#{worker_path}...EMPTY TASK!"
- end
-
@worker_sockets[worker_path].puts(task)
end
end
end