Custom db backend for statement_timeout support (postgresql_psycopg2)
Put this in a base.py file. And config this settings: DATABASE_ENGINE = 'path.to.module.with.base.file' DATABASE_STATEMENT_TIMEOUT = 60000 # milliseconds (Idea from: http://www.mailinglistarchive.com/html/[email protected]/2009-02/msg00024.html)
- database
- timeout
- backends
- postgress
- statment_timeout