Please sign in to comment.
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...