On 04:19 am, luper.ro...@gmail.com wrote:
My first attempt was to run the reactor in the main thread, but the
application was "freezing" when e.g. doing a SELECT with SQLAlchemy/
psycopg2 (I guess because psycopg2 just waits for data and blocks
the twisted reactor). So I put reactor.run() in
gl...@divmod.com wrote:
On 04:19 am, luper.ro...@gmail.com wrote:
My first attempt was to run the reactor in the main thread, but the
application was "freezing" when e.g. doing a SELECT with
SQLAlchemy/psycopg2 (I guess because psycopg2 just waits for data and
blocks the twisted reactor). So I
On 04:19 am, luper.ro...@gmail.com wrote:
My first attempt was to run the reactor in the main thread, but the
application was "freezing" when e.g. doing a SELECT with
SQLAlchemy/psycopg2 (I guess because psycopg2 just waits for data and
blocks the twisted reactor). So I put reactor.run() in a t