Hi,
On 28-6-2006, at 11.21 am, Andi Vajda wrote:
I don't know CherryPy or mod_python but there's got to be a way to
customize the thread pools used to create the 'right' kind of
thread instance.
If someone comes up with a solution it'd be great to post it here
as this is a rather frequently asked question.
I am using CherryPy 2.2.1 and PyLucene 2.0.0 on Windows 2000. For
them to work together, I have imported PyLucene and replaced
PyLucene.PythonThread for threading.Thread in _cpserver.py and
_cpwsgiserver.py. I have also disabled CherryPy's autoreload (by
adding autoreload.on=False to my configuration file) because
autoreload uses low level threads. The result seems to work fine for
now.
Álvaro
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev