Commit Graph

4 Commits (112ffeef2e32efe7d474fe3b3ac11d877e3ee7ad)

Author SHA1 Message Date
Stéphane Bidoul 018b664940 session_db: improve resiliency to database errors
Retry on OperationalError exception, which we receive on database restart.
Return cursor to pool when reconnecting.
2023-01-23 09:27:31 +01:00
Stéphane Bidoul 42f7db536a session_db: do not update write_date on get
The upstream FilesystemSessionStore does not do that.
2023-01-19 10:20:11 +01:00
Stéphane Bidoul b68adf53a2 session_db: use SESSION_LIFETIME constant 2023-01-19 10:20:11 +01:00
Stéphane Bidoul 6ff5bb8e03 [MIG] session_db to 16.0 2023-01-19 10:20:11 +01:00