use gearmand on 4731 and german on 7003
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Mar 2011 12:11:09 +0000 (12:11 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Mar 2011 12:11:09 +0000 (12:11 +0000)
gearman_driver.pl [new file with mode: 0755]

diff --git a/gearman_driver.pl b/gearman_driver.pl
new file mode 100755 (executable)
index 0000000..7d42559
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Gearman::Driver;
+use lib 'lib';
+
+my $driver = Gearman::Driver->new(
+       namespaces => [qw(APKPM)],
+#      server     => 'localhost:4730,localhost:4731',
+       server     => 'localhost:4731,localhost:7003',
+       interval   => 3,
+);
+$driver->run;