[Zope3-checkins] SVN: Zope3/trunk/src/zope/server/taskthreads.py
After the timeout, stop waiting for threads to exit.
Shane Hathaway
shane at zope.com
Fri Sep 3 04:07:02 EDT 2004
Log message for revision 27441:
After the timeout, stop waiting for threads to exit.
Changed:
U Zope3/trunk/src/zope/server/taskthreads.py
-=-
Modified: Zope3/trunk/src/zope/server/taskthreads.py
===================================================================
--- Zope3/trunk/src/zope/server/taskthreads.py 2004-09-03 08:06:17 UTC (rev 27440)
+++ Zope3/trunk/src/zope/server/taskthreads.py 2004-09-03 08:07:01 UTC (rev 27441)
@@ -105,6 +105,7 @@
while threads:
if time() >= expiration:
logging.error("%d thread(s) still running" % len(threads))
+ break
sleep(0.1)
if cancel_pending:
# Cancel remaining tasks.
More information about the Zope3-Checkins
mailing list