mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Lower the DB connection recycling time in Dist-Git
Fixes: https://forge.fedoraproject.org/infra/tickets/issues/13099 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -40,7 +40,7 @@ DB_URL = 'postgresql://{{ distgit_pagure_db_user }}:{{ distgit_pagure_db_pass }}
|
|||||||
|
|
||||||
# Something breaks the database connections after a while, recycle them sooner
|
# Something breaks the database connections after a while, recycle them sooner
|
||||||
# https://forge.fedoraproject.org/infra/tickets/12622
|
# https://forge.fedoraproject.org/infra/tickets/12622
|
||||||
DB_POOL_RECYCLE = 600
|
DB_POOL_RECYCLE = 300
|
||||||
|
|
||||||
### FAS groups of pagure admins
|
### FAS groups of pagure admins
|
||||||
ADMIN_GROUP = ['cvsadmin', 'sysadmin-main']
|
ADMIN_GROUP = ['cvsadmin', 'sysadmin-main']
|
||||||
|
|||||||
Reference in New Issue
Block a user