[pylucene-dev] PyLucene in CherryPy
Álvaro Falquina Garrido
afalquina at mac.com
Wed Jun 28 05:04:15 PDT 2006
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
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
More information about the pylucene-dev
mailing list