summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2011-11-14 20:42:13 +0100
committerByron Jones <bjones@mozilla.com>2011-11-14 20:42:13 +0100
commit1ba64afb7288f2d3ce14a2922f8f0893f73f119f (patch)
tree8aaa1b160ef2043a6daa941ba8eee0d0ac7c54f9
parent75e7b3e3aa50b896640e849fc5531a7db5d61f71 (diff)
downloadbugzilla-1ba64afb7288f2d3ce14a2922f8f0893f73f119f.tar.gz
bugzilla-1ba64afb7288f2d3ce14a2922f8f0893f73f119f.tar.xz
Bug 702208: TheSchwartz should not open a new db connection for each email
-rw-r--r--Bugzilla/JobQueue.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm
index 2804b9179..8523fffa2 100644
--- a/Bugzilla/JobQueue.pm
+++ b/Bugzilla/JobQueue.pm
@@ -62,6 +62,7 @@ sub new {
pass => $lc->{db_pass},
prefix => 'ts_',
}],
+ driver_cache_expiration => 300, # 5 minutes
);
return $self;