1
0
Fork 0
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:
Aurélien Bompard 2025-08-06 17:04:00 +02:00
commit ba0393fece
Signed by untrusted user: abompard
GPG key ID: 31584CFEB9BF64AD
3 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,5 @@
---
pagure_patches:
- b50d32b7c92f131ebcc3b633de6c6e91e28297ec
- 5529

View file

@ -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']

View file

@ -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