~xenrox/ansible

d4811867b5f542c4fb92a2ef6792b5a0ca28af3b — Thorben Günther 1 year, 11 months ago deebbfb
srht: Fix webhook redis allocation

Each service needs a own, dedicated redis database for their webhooks.
M roles/srht/templates/git.ini.j2 => roles/srht/templates/git.ini.j2 +1 -1
@@ 14,7 14,7 @@ connection-string=postgresql://srht:{{ srht_secrets['psql_password'] }}@localhos
migrate-on-upgrade=yes
#
# The redis connection used for the webhooks worker
webhooks=redis://localhost:6379/2
webhooks=redis://localhost:6379/5
#
# A post-update script which is installed in every git repo.
post-update-script=/usr/bin/gitsrht-update-hook

M roles/srht/templates/lists.ini.j2 => roles/srht/templates/lists.ini.j2 +1 -1
@@ 14,7 14,7 @@ connection-string=postgresql://srht:{{ srht_secrets['psql_password'] }}@localhos
migrate-on-upgrade=yes
#
# The redis connection used for the webhooks worker
webhooks=redis://localhost:6379/2
webhooks=redis://localhost:6379/9
#
# The redis connection used for the Celery worker (configure this on both the
# master and workers)

M roles/srht/templates/todo.ini.j2 => roles/srht/templates/todo.ini.j2 +1 -1
@@ 22,7 22,7 @@ oauth-client-secret={{ srht_secrets['todo_secret'] }}
notify-from=noreply@xenrox.net
#
# The redis connection used for the webhooks worker
webhooks=redis://localhost:6379/2
webhooks=redis://localhost:6379/8

[todo.sr.ht::mail]
#