implications of asyncore.loop() timeout change
Ray Price
ray@u...
Mon, 05 Jun 2000 22:13:29 -0000
I've got a Linux Medusa server returning http pages via a Solaris
Apache script (written in python to act as a proxy). For some reason
the client does not see the complete page for 15-30 seconds.
So, I went in and changed the asyncore.loop() timeout value from 30.0
to 0.5 and now pages are returned very quickly.
The question is: what implications should I beware of when changing
the timeout value in this way. FYI the asyncore module is shared
between several other servers running XML-RPC and mxODBC.
Before I made the timeout change, a client requesting a page directly
from the Medusa server would 'free the stuck' page back to the proxy.
Thanks for your comments,
Ray