summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-28 07:10:24 +0100
committerByron Jones <bjones@mozilla.com>2013-03-28 07:10:24 +0100
commite4a5c4996044c0de0f889aa3687ddfc89fa00be7 (patch)
treec538eb805a4987b3217122f14550a87d2736abe6 /Bugzilla/Constants.pm
parentf558420feebedfcead5abdcd2ecc9e37ce4be748 (diff)
downloadbugzilla-e4a5c4996044c0de0f889aa3687ddfc89fa00be7.tar.gz
bugzilla-e4a5c4996044c0de0f889aa3687ddfc89fa00be7.tar.xz
Bug 850639: the dependency graph should have an upper limit on the number of nodes it attempts to graph
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index d1ca92260..c31565dd8 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -182,6 +182,7 @@ use Memoize;
MAX_FREETEXT_LENGTH
MAX_BUG_URL_LENGTH
MAX_POSSIBLE_DUPLICATES
+ MAX_WEBDOT_BUGS
PASSWORD_DIGEST_ALGORITHM
PASSWORD_SALT_LENGTH
@@ -566,6 +567,9 @@ use constant MAX_BUG_URL_LENGTH => 255;
# will return.
use constant MAX_POSSIBLE_DUPLICATES => 25;
+# 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