summaryrefslogtreecommitdiff
path: root/FS/FS/Daemon
diff options
context:
space:
mode:
authorJason Terry <jterry@bluehost.com>2015-02-11 15:32:08 -0700
committerIvan Kohler <ivan@freeside.biz>2015-02-24 18:49:51 -0800
commitae02d1178c6859f7a0a5e4a22c685de5f0477568 (patch)
tree16a620ff8a7e0a64b8b9ec948e9c8179814feefd /FS/FS/Daemon
parent322bb305ccb724f35e869b757e9bb5fa4a468e84 (diff)
Cache the FS::Conf info per page load, for performance.
Conflicts: FS/FS/Conf.pm
Diffstat (limited to 'FS/FS/Daemon')
-rw-r--r--FS/FS/Daemon/Preforking.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Daemon/Preforking.pm b/FS/FS/Daemon/Preforking.pm
index f3a39a6..4c382eb 100644
--- a/FS/FS/Daemon/Preforking.pm
+++ b/FS/FS/Daemon/Preforking.pm
@@ -46,7 +46,7 @@ use warnings;
use strict;
use constant DEBUG => 0; # Enable much runtime information.
-use constant MAX_PROCESSES => 10; # Total server process count.
+use constant MAX_PROCESSES => 4; # Total server process count. XXX conf to increase per-different daemon for busy sites using this (currently the only things using this are freeside-xmlrpcd and freeside-selfservice-xmlrpcd)
#use constant TESTING_CHURN => 0; # Randomly test process respawning.
use vars qw( @EXPORT_OK $FREESIDE_LOG $SERVER_PORT $user $handle_request );