[Zope3-checkins] CVS: ZODB4/ZEO - runsvr.py:1.2
Barry Warsaw
barry@wooz.org
Mon, 16 Dec 2002 16:04:44 -0500
Update of /cvs-repository/ZODB4/ZEO
In directory cvs.zope.org:/tmp/cvs-serv6680
Modified Files:
runsvr.py
Log Message:
loop_forever(): Forward port use of ThreadedAsync.loop() instead of
asyncore.loop() since explicit is better than implicit. I don't think
we need ThreadedAsync.LoopCallback.loop() since ths version of the
file will only be used with Zope3.
=== ZODB4/ZEO/runsvr.py 1.1 => 1.2 ===
--- ZODB4/ZEO/runsvr.py:1.1 Thu Dec 5 14:48:46 2002
+++ ZODB4/ZEO/runsvr.py Mon Dec 16 16:04:42 2002
@@ -357,8 +357,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")