From ae02d1178c6859f7a0a5e4a22c685de5f0477568 Mon Sep 17 00:00:00 2001 From: Jason Terry Date: Wed, 11 Feb 2015 15:32:08 -0700 Subject: Cache the FS::Conf info per page load, for performance. Conflicts: FS/FS/Conf.pm --- FS/FS/Daemon/Preforking.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FS/FS/Daemon') 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 ); -- cgit v1.1