summaryrefslogtreecommitdiff
path: root/Mailman/LockFile.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-09-29 11:09:14 -0400
committerBarry Warsaw2007-09-29 11:09:14 -0400
commitcbf2967239163e42cc2b25eece7bb5cb71b197fe (patch)
treee8445a0af47c9c203107eea913f11dbc9229477b /Mailman/LockFile.py
parent773980eb727b98c902b93894cafcd6bc7d22510d (diff)
downloadmailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.tar.gz
mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.tar.zst
mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.zip
Diffstat (limited to 'Mailman/LockFile.py')
-rw-r--r--Mailman/LockFile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/LockFile.py b/Mailman/LockFile.py
index 33008e92b..9323b4895 100644
--- a/Mailman/LockFile.py
+++ b/Mailman/LockFile.py
@@ -64,8 +64,8 @@ import traceback
# Units are floating-point seconds.
DEFAULT_LOCK_LIFETIME = datetime.timedelta(seconds=15)
-# Allowable a bit of clock skew
-CLOCK_SLOP = datetime.timedelta(seconds=10)
+# Allowable a bit of clock skew, in seconds.
+CLOCK_SLOP = 10
# This is appropriate for Mailman, but you may want to change this if you're
# using this code outside Mailman.
log = logging.getLogger('mailman.locks')