Merge ~cjwatson/launchpad:testopenid-file-store into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 6e53d62261ddd24e7f0b8d6c394f00c16ea87410 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:testopenid-file-store |
Merge into: | launchpad:master |
Diff against target: |
74 lines (+17/-3) 3 files modified
configs/development/launchpad-lazr.conf (+1/-0) lib/lp/services/config/schema-lazr.conf (+4/-0) lib/lp/testopenid/browser/server.py (+12/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+399125@code.launchpad.net |
Commit message
testopenid: Use a filesystem-based store
Description of the change
Now that we normally use gunicorn for development setups, there are multiple worker processes serving requests, and they won't have access to the same MemoryStore instance for testopenid requests; this can cause OpenID exchanges to fail depending on which workers serve the relevant requests. Use a filesystem-based store instead so that live nonces and associations can be shared between processes.
To post a comment you must log in.