Merge lp:~stub/launchpad/bug-490239-session-tuning into lp:launchpad
Proposed by
Stuart Bishop
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Stuart Bishop | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~stub/launchpad/bug-490239-session-tuning | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
120 lines (+2/-80) 2 files modified
lib/canonical/launchpad/webapp/pgsession.py (+2/-19) lib/canonical/launchpad/webapp/tests/test_pgsession.py (+0/-61) |
||||
To merge this branch: | bzr merge lp:~stub/launchpad/bug-490239-session-tuning | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guilherme Salgado (community) | release-critical | Approve | |
Graham Binns (community) | code | Approve | |
Review via email: mp+15403@code.launchpad.net |
To post a comment you must log in.
Currently, our session machinery prunes old session information during a request. This is silly because it might take a while, and under high load, might contribute to a death spiral of the production systems and deletion requests time out and are retried by subsequent requests. Although this is still just a theory, removing this code still seems a good idea and batch processes to prune the old data are already in place.