Skip to content

Commit

Permalink
GH-22: Purge expired sessions on 1/100 requests
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed May 30, 2024
1 parent 21350b7 commit 51ed713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schemes/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Config:
# Flask-Session
SESSION_TYPE = "sqlalchemy"
PERMANENT_SESSION_LIFETIME = 60 * 60 # 1 hour
SESSION_CLEANUP_N_REQUESTS = 100

# GOV.UK One Login
GOVUK_SERVER_METADATA_URL = "https://oidc.integration.account.gov.uk/.well-known/openid-configuration"
Expand Down

0 comments on commit 51ed713

Please sign in to comment.