projects
/
APKPM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ad135
)
use gearmand on 4731 and german on 7003
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 7 Mar 2011 12:11:09 +0000
(12:11 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 7 Mar 2011 12:11:09 +0000
(12:11 +0000)
gearman_driver.pl
[new file with mode: 0755]
patch
|
blob
diff --git a/gearman_driver.pl
b/gearman_driver.pl
new file mode 100755
(executable)
index 0000000..
7d42559
--- /dev/null
+++ b/
gearman_driver.pl
@@ -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;