Browse Source

Relax session expiry times.

master
Ben Kurtovic 8 years ago
parent
commit
e5ee28c378
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      calefaction/database.py

+ 2
- 2
calefaction/database.py View File

@@ -11,8 +11,8 @@ __all__ = ["Database"]


class Database: class Database:
"""Database manager for low-level authentication actions.""" """Database manager for low-level authentication actions."""
MAX_SESSION_STALENESS = 30 * 60 # 30 minutes
MAX_SESSION_AGE = 6 * 60 * 60 # 6 hours
MAX_SESSION_STALENESS = 2 * 60 * 60 # 2 hours
MAX_SESSION_AGE = 24 * 60 * 60 # 24 hours
SESSION_GRACE = 60 * 60 # 1 hour SESSION_GRACE = 60 * 60 # 1 hour
path = None path = None




Loading…
Cancel
Save