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
I am using twisted in a GUI application to do port forwarding over an
SSH connection. All the network connections of the application
(database, etc...) are routed through this connection, to simplify
server configuration and secure things.
My first attempt was to run the reactor in the main th