diff options
| author | bwarsaw | 2000-05-31 20:23:53 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-05-31 20:23:53 +0000 |
| commit | 7db07b10afdcb33e46f49c1749ee3879a80f9416 (patch) | |
| tree | 1b52f7f69672492f9cfca1798283bd357682ce30 /cron | |
| parent | 487ff8820286c48a67835b22e19b74d7a5eb0ec2 (diff) | |
| download | mailman-7db07b10afdcb33e46f49c1749ee3879a80f9416.tar.gz mailman-7db07b10afdcb33e46f49c1749ee3879a80f9416.tar.zst mailman-7db07b10afdcb33e46f49c1749ee3879a80f9416.zip | |
Diffstat (limited to 'cron')
| -rw-r--r-- | cron/qrunner | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cron/qrunner b/cron/qrunner index 49407478f..817dc1d7c 100644 --- a/cron/qrunner +++ b/cron/qrunner @@ -38,7 +38,7 @@ import signal signal.signal(signal.SIGCHLD, signal.SIG_DFL) QRUNNER_LOCK_FILE = os.path.join(mm_cfg.LOCK_DIR, 'qrunner.lock') -QRUNNER_LOCK_LIFETIME = 60 * 10 # seconds +QRUNNER_LOCK_LIFETIME = 60 * 10 # 10 minutes LogStdErr('error', 'qrunner', tee_to_stdout=0) @@ -147,13 +147,7 @@ if __name__ == '__main__': try: lock.lock(timeout=0.5) except LockFile.TimeOutError: - # TBD: It is possible that some other process has laid claim to the - # gate lock for this list, but that said process has exited uncleanly. - # If that's the case, and it leaves it's lock claim on disk, we will - # never be able to gate from usenet to the list again, until the stale - # lock is removed. For now, we just log this potentially deadlocked - # situation, but this should really be fixed (probably in LockFile.py - # though). + # Some other qrunner process is running, which is fine. sys.stderr.write('Could not acquire qrunner lock\n') else: try: |
