Barry Warsaw pushed to branch fix-hangs at mailman / Mailman Core
Commits: a3150b2b by Barry Warsaw at 2017-07-27T18:10:36-04:00 Debugging! - - - - - 1 changed file: - src/mailman/bin/master.py Changes: ===================================== src/mailman/bin/master.py ===================================== --- a/src/mailman/bin/master.py +++ b/src/mailman/bin/master.py @@ -120,6 +120,7 @@ def acquire_lock_1(force, lock_file=None): lock = Lock(lock_file, LOCK_LIFETIME) try: lock.lock(timedelta(seconds=0.1)) + print('=====>', lock.details, file=sys.stderr) return lock except TimeOutError: if not force: @@ -572,4 +573,5 @@ def main(config_file, restartable, force, runners, verbose): loop.cleanup() os.remove(config.PID_FILE) finally: + print('<=====', lock.details, file=sys.stderr) lock.unlock() View it on GitLab: https://gitlab.com/mailman/mailman/commit/a3150b2bc3baf5b3283685008312bb2cfd0725b4 --- View it on GitLab: https://gitlab.com/mailman/mailman/commit/a3150b2bc3baf5b3283685008312bb2cfd0725b4 You're receiving this email because of your account on gitlab.com.
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org