connect just to single gearman server
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 14 Mar 2011 18:25:23 +0000 (18:25 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 14 Mar 2011 18:25:23 +0000 (18:25 +0000)
gearman_driver.pl

index 7d42559..0a7f874 100755 (executable)
@@ -6,8 +6,8 @@ use lib 'lib';
 
 my $driver = Gearman::Driver->new(
        namespaces => [qw(APKPM)],
-#      server     => 'localhost:4730,localhost:4731',
-       server     => 'localhost:4731,localhost:7003',
+       server     => 'localhost:4730',
+#      server     => 'localhost:4731,localhost:7003',
        interval   => 3,
 );
 $driver->run;