summaryrefslogtreecommitdiffstats
path: root/mirrors/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-16 04:27:37 +0100
committerDan McGee <dan@archlinux.org>2013-01-16 04:27:37 +0100
commit3a6398f42d04ea6a677bf7b6d5115175e9011432 (patch)
treeff9b93bd252698c2f8ddc9aa79491f4317418957 /mirrors/views.py
parentaf32c23768c7537f19e0613525579208b4f44eb4 (diff)
downloadarchweb-3a6398f42d04ea6a677bf7b6d5115175e9011432.tar.gz
archweb-3a6398f42d04ea6a677bf7b6d5115175e9011432.tar.xz
Add new AlwaysCommitMiddleware to the stack
The reason for this is documented in the middleware itself. Without this, pgbouncer is of little use to us since it has to throw away every connection we try to route through it because of unclean disconnects. In theory, with the switch to using pgbouncer for all WSGI originating connections and adding this middleware, we should see a notable decrease in connection time to the database. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/views.py')
0 files changed, 0 insertions, 0 deletions