projects
/
APKPM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba12dfe
)
limit processes for old search implementation
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 May 2011 19:32:16 +0000
(21:32 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 May 2011 19:32:16 +0000
(21:32 +0200)
gearman_driver.pl
patch
|
blob
|
history
diff --git
a/gearman_driver.pl
b/gearman_driver.pl
index
494e10a
..
ef49cd8
100755
(executable)
--- a/
gearman_driver.pl
+++ b/
gearman_driver.pl
@@
-35,6
+35,13
@@
my $driver = Gearman::Driver->new(
'APKPM::Store::insert' => {
max_processes => 10,
},
+
+ 'APKPM::DSLAM::search' => {
+ max_processes => 50,
+ },
+ 'APKPM::CRM::search' => {
+ max_processes => 5,
+ },
},
);
$driver->run;