Opened 10 years ago

Closed 8 years ago

#1090 enhancement closed fixed (fixed)

twisted/web/server.py : Session expire times are hardwired

Reported by: loic Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: jknight, loic, therve Branch:
Author: Launchpad Bug:

Description


Change History (5)

comment:1 Changed 10 years ago by loic

Session expiration delay (900) and check time (1800) are hardwired
in the code. They should at least be static class members in order to
be customizable.

comment:2 Changed 8 years ago by therve

  • Cc therve added

comment:3 Changed 8 years ago by therve

(In [19411]) Merge session-cleanup-1996

Author: therve
Reviewer: exarkun
Fixes #1996

getDelayedCalls() was used in twisted.web.test.test_web.SessionTest?, whereas it's an internal method that should be removed. The test has been rewritten, and, in the process, web.Session and web.Site have been refactored to be tested easier. #1090 is also fixed by the changes.

comment:4 Changed 8 years ago by therve

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 4 years ago by <automation>

  • Owner jknight deleted
Note: See TracTickets for help on using tickets.