From 00ff400464fca420e0cc7e7ce402d9e9bd3ea8ec Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 28 Mar 2013 14:16:58 +0800 Subject: Bug 850639: Set an upper limit on the number of nodes the dependency graph will display r=LpSolit, a=LpSolit --- Bugzilla/Constants.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Bugzilla/Constants.pm') 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 -- cgit v1.2.3-24-g4f1b