lib/cloud_crowd/worker.rb in cloud-crowd-0.5.0 vs lib/cloud_crowd/worker.rb in cloud-crowd-0.5.2

- old
+ new

@@ -22,10 +22,11 @@ @pid = $$ @node = node @unit = unit @status = @unit['status'] @retry_wait = RETRY_WAIT + $0 = "#{unit['action']} (#{unit['id']}) [cloud-crowd-worker]" end # Return output to the central server, marking the WorkUnit done. def complete_work_unit(result) keep_trying_to "complete work unit" do @@ -144,6 +145,6 @@ Signal.trap('TERM') { Process.exit! } end end -end \ No newline at end of file +end