distgit/pagure: indicate to pagure that the git hook have a read-only access to the DB

This way it'll try to interact with the DB using async processes
(the workers) rather than trying to do it where it does not have
the permissions and crash.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2019-04-10 13:16:38 +02:00
parent 0c6e803c60
commit 1319bc99f5

View file

@ -54,6 +54,7 @@ DEPLOY_KEY = False
LOCAL_SSH_KEY = False
ALLOW_DELETE_BRANCH = False
EMAIL_ON_WATCHCOMMITS = False
GIT_HOOK_DB_RO = True
LOG_ALL_COMMITS = True
DISABLED_PLUGINS = ['IRC', 'Pagure tickets', 'Read the Doc', 'Fedmsg']