[Zope-Checkins] CVS: ZODB3/ZEO - runsvr.py:1.18
Barry Warsaw
barry@wooz.org
Thu, 12 Dec 2002 14:44:28 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv28139
Modified Files:
runsvr.py
Log Message:
loop_forever(): Use ThreadedAsync.loop() explicitly, instead of
through the sneakily rebound asyncore.loop().
=== ZODB3/ZEO/runsvr.py 1.17 => 1.18 ===
--- ZODB3/ZEO/runsvr.py:1.17 Mon Dec 9 13:39:58 2002
+++ ZODB3/ZEO/runsvr.py Thu Dec 12 14:44:28 2002
@@ -359,8 +359,8 @@
self.server = StorageServer(self.options.address, self.storages)
def loop_forever(self):
- import asyncore
- asyncore.loop()
+ import ThreadedAsync
+ ThreadedAsync.loop()
def handle_sigterm(self):
info("terminated by SIGTERM")