Permalink
Browse files

change the name of the worker process

  • Loading branch information...
1 parent 1c7275b commit 770769763eb0e0fb1c59512c37161ac5537a02f8 @felipecvo felipecvo committed Aug 3, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/cloud_crowd/worker.rb
@@ -24,6 +24,7 @@ def initialize(node, unit)
@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.
@@ -146,4 +147,4 @@ def trap_signals
end
-end
+end

0 comments on commit 7707697

Please sign in to comment.