From 5a3d451c59b6f9cd532eb129f9b2f4bad531ee7b Mon Sep 17 00:00:00 2001 From: Pankaj Tyagi Date: Thu, 7 Mar 2013 11:27:29 -0500 Subject: [PATCH] Incorrect code example removed --- README.textile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.textile b/README.textile index d5ea19447..5b35ca758 100644 --- a/README.textile +++ b/README.textile @@ -99,15 +99,7 @@ You can also run by writing a simple @script/job_runner@, and invoking it extern Workers can be running on any computer, as long as they have access to the database and their clock is in sync. You can even -run multiple workers on per computer, but you must give each one a unique name: - -

-  3.times do |n|
-    worker = Delayed::Worker.new
-    worker.name = 'worker-' + n.to_s
-    worker.start
-  end	
-
+run multiple workers on per computer, but you must give each one a unique name. Keep in mind that each worker will check the database at least every 5 seconds.