This repository has been archived by the owner on Sep 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hackish bug fix for hanging connections on large queries
If the query is large, psycopg2 sets async status to WRITE and requires additional calls to poll() to flush the query to postgresql. Momoko was telling tornado to only listen for READ, so poll() was never called and the query would hang
- Loading branch information