forked from infra/ansible
Deploy a patch in distgit to fix Infra ticket 12622
See: https://pagure.io/fedora-infrastructure/issue/12622 Patch sent upstream: https://pagure.io/pagure/pull-request/5529 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
777343ed38
commit
ba0393fece
3 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
pagure_patches:
|
||||
- b50d32b7c92f131ebcc3b633de6c6e91e28297ec
|
||||
- 5529
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,10 @@ DB_URL = 'postgresql://{{ distgit_stg_pagure_db_user }}:{{ distgit_stg_pagure_db
|
|||
DB_URL = 'postgresql://{{ distgit_pagure_db_user }}:{{ distgit_pagure_db_pass }}@{{ pagure_db_host }}/{{ distgit_pagure_db_name }}'
|
||||
{% endif %}
|
||||
|
||||
# Something breaks the database connections after a while, recycle them sooner
|
||||
# https://pagure.io/fedora-infrastructure/issue/12622
|
||||
DB_POOL_RECYCLE = 600
|
||||
|
||||
### FAS groups of pagure admins
|
||||
ADMIN_GROUP = ['cvsadmin', 'sysadmin-main']
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@
|
|||
- rabbitmq_cluster
|
||||
- config
|
||||
|
||||
- name: Add a policy to limit queues to 1GB and remove after a month of no use for /pubsub
|
||||
- name: Add a policy to limit queues to 1GB
|
||||
when: inventory_hostname.startswith('rabbitmq01')
|
||||
rabbitmq_policy:
|
||||
apply_to: queues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue