summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-23 06:56:08 +0200
committerByron Jones <glob@mozilla.com>2015-07-23 06:56:08 +0200
commit0aa6689164449c3f661c084ffadaf8d7a58af259 (patch)
treea99614bd364078ac0bc7a0e4a59b7cbb695032e3
parente11af2636ba030da8cc959950a5c4f265e9f8e53 (diff)
downloadbugzilla-0aa6689164449c3f661c084ffadaf8d7a58af259.tar.gz
bugzilla-0aa6689164449c3f661c084ffadaf8d7a58af259.tar.xz
Bug 1185467 - decrease max_messages to address swap usage alerts
-rw-r--r--Bugzilla/JobQueue.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm
index 50e6de03c..766e4cc16 100644
--- a/Bugzilla/JobQueue.pm
+++ b/Bugzilla/JobQueue.pm
@@ -45,7 +45,7 @@ use constant DRIVER_CACHE_TIME => 300; # 5 minutes
# To avoid memory leak/fragmentation, a worker process won't process more than
# MAX_MESSAGES messages.
-use constant MAX_MESSAGES => 100;
+use constant MAX_MESSAGES => 75;
sub job_map {
if (!defined(Bugzilla->request_cache->{job_map})) {