Skip to content

Commit

Permalink
Fixed timeout to be 30 min.
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha committed Jan 14, 2004
1 parent 2dbb67f commit 587bb82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/mod_python/Session.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#
# Originally developed by Gregory Trubetskoy.
#
# $Id: Session.py,v 1.8 2003/08/28 18:49:14 grisha Exp $
# $Id: Session.py,v 1.9 2004/01/14 02:18:36 grisha Exp $

import apache, Cookie
import _apache
Expand All @@ -68,7 +68,7 @@
import tempfile

COOKIE_NAME="pysid"
DFT_TIMEOUT=30*60*60 # 30 min
DFT_TIMEOUT=30*60 # 30 min
CLEANUP_CHANCE=1000 # cleanups have 1 in CLEANUP_CHANCE chance

tempdir = tempfile.gettempdir()
Expand Down

0 comments on commit 587bb82

Please sign in to comment.