summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-02-18 06:40:54 +0100
committerterry%mozilla.org <>2000-02-18 06:40:54 +0100
commit4ff34e9d3b747097a4bc88efd8171cae832a94e9 (patch)
tree680a7889e3432e5b5dfe2580a2de9f019fa4c0f3 /buglist.cgi
parent870be34704d0679153de40192b326b076343ba7d (diff)
downloadbugzilla-4ff34e9d3b747097a4bc88efd8171cae832a94e9.tar.gz
bugzilla-4ff34e9d3b747097a4bc88efd8171cae832a94e9.tar.xz
Added an optional ability to keep a read-only shadow database, so that
bug queries can be run against it, so that these slow queries won't be able to tie up the rest of the system.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 297d32255..be55f22b6 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -49,7 +49,9 @@ sub sillyness {
my $serverpush = 0;
-ConnectToDatabase();
+my $useshadow = Param("queryagainstshadowdb");
+
+ConnectToDatabase($useshadow);
# print "Content-type: text/plain\n\n"; # Handy for debugging.
# $::FORM{'debug'} = 1;