summaryrefslogtreecommitdiffstats
path: root/mod_perl.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mod_perl.pl')
-rw-r--r--mod_perl.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index e3a50e4ea..8febe2f04 100644
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -61,7 +61,11 @@ use Apache2::SizeLimit;
# This means that every httpd child will die after processing
# a CGI if it is taking up more than 1600MB of RAM all by itself,
# not counting RAM it is sharing with the other httpd processes.
-Apache2::SizeLimit->set_max_unshared_size(1_600_000);
+if (Bugzilla->params->{'urlbase'} eq 'https://bugzilla.mozilla.org/') {
+ Apache2::SizeLimit->set_max_unshared_size(1_600_000);
+} else {
+ Apache2::SizeLimit->set_max_unshared_size(100_000);
+}
my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'};