summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-28 07:16:58 +0100
committerByron Jones <bjones@mozilla.com>2013-03-28 07:16:58 +0100
commit00ff400464fca420e0cc7e7ce402d9e9bd3ea8ec (patch)
tree92be84fad5bb9abecb3193c2053720a57d2b721b /Bugzilla
parentf5e0b805e282d047dfac17e6ba1034b19832b61d (diff)
downloadbugzilla-00ff400464fca420e0cc7e7ce402d9e9bd3ea8ec.tar.gz
bugzilla-00ff400464fca420e0cc7e7ce402d9e9bd3ea8ec.tar.xz
Bug 850639: Set an upper limit on the number of nodes the dependency graph will display
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Constants.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 212816a05..765dacd99 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -167,6 +167,7 @@ use Memoize;
MAX_POSSIBLE_DUPLICATES
MAX_ATTACH_FILENAME_LENGTH
MAX_QUIP_LENGTH
+ MAX_WEBDOT_BUGS
PASSWORD_DIGEST_ALGORITHM
PASSWORD_SALT_LENGTH
@@ -570,6 +571,9 @@ use constant MAX_ATTACH_FILENAME_LENGTH => 255;
# Maximum length of a quip.
use constant MAX_QUIP_LENGTH => 512;
+# Maximum number of bugs to display in a dependency graph
+use constant MAX_WEBDOT_BUGS => 2000;
+
# This is the name of the algorithm used to hash passwords before storing
# them in the database. This can be any string that is valid to pass to
# Perl's "Digest" module. Note that if you change this, it won't take