-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LP2034956: Check authtoken validity more frequently
Just hard-code the validity check to 3 minutes. Since the timer will start at an essentially random time for each tab there shouldn't be much threat of overwhelming the auth service with this relatively fast call. This should help keep staff authtokens "fresher" in memcached until lp 1753565 is addressed. Release-note: Check the staff client authentication session every three minutes, reducing chances of hidden eviction of the session Co-authored-by: Galen Charlton <[email protected]> Signed-off-by: Jason Boyer <[email protected]> Signed-off-by: Galen Charlton <[email protected]> Signed-off-by: Mike Rylander <[email protected]>
- Loading branch information
1 parent
8bc3308
commit fd93448
Showing
2 changed files
with
8 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters