diff options
author | mkanat%bugzilla.org <> | 2009-01-20 21:09:46 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-20 21:09:46 +0100 |
commit | 5c76819f088805d6a3b483b00c34850eb766025a (patch) | |
tree | 6fab6dd667ddd4c93ac3d0b225142b728701587b /Bugzilla/Constants.pm | |
parent | 1be84df9f63b9d0c4cd94caff9970115b8263ee4 (diff) | |
download | bugzilla-5c76819f088805d6a3b483b00c34850eb766025a.tar.gz bugzilla-5c76819f088805d6a3b483b00c34850eb766025a.tar.xz |
Bug 134022: PERFORMANCE: deleting old login cookies locks login checks
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 921c03275..d93f91271 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -142,6 +142,7 @@ use File::Basename; ON_WINDOWS MAX_TOKEN_AGE + MAX_LOGINCOOKIE_AGE SAFE_PROTOCOLS @@ -363,6 +364,8 @@ use constant FIELD_TYPE_BUG_ID => 6; # The maximum number of days a token will remain valid. use constant MAX_TOKEN_AGE => 3; +# How many days a logincookie will remain valid if not used. +use constant MAX_LOGINCOOKIE_AGE => 30; # Protocols which are considered as safe. use constant SAFE_PROTOCOLS => ('afs', 'cid', 'ftp', 'gopher', 'http', 'https', |