increase default session duration

main
adam j hartz 3 months ago
parent 8d58653de5
commit 8ae952f9e3
Signed by: hz
GPG Key ID: 5FDD2840E179AD62

@ -14,6 +14,8 @@ _Work toward next release. Currently under development._
* Suppressed some warnings coming from BeautifulSoup
* Changed default session duration to ten days instead of two
**DEPRECATED:**
**REMOVED:**
@ -33,6 +35,8 @@ _Work toward next release. Currently under development._
* An empty string is no longer considered to be a well-formed response to a `pythonic` question
* Fixed a potential bug with the length calculation in the `raw_response` header when `response` was given as a string containing unicode characters (thanks to Shen Shen)
**SECURITY:**
**ACCESSIBILITY:**

@ -38,10 +38,10 @@ VALID_SESSION_RE = re.compile(r"^[A-Fa-f0-9]{32}$")
Regular expression matching a valid session id name (32 hexadecimal characters)
"""
EXPIRE = 48 * 3600
EXPIRE = 10 * 24 * 60 * 60
"""
Number of seconds since last action to keep a session as valid.
Defaults to 48 hours.
Defaults to ten days.
"""
SESSION_DIR = os.path.join(base_context.cs_data_root, "_sessions")

Loading…
Cancel
Save