From 9e6e1c679b68ed7d06aa53b6fc06569b1ec75861 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 11 Oct 2023 18:40:44 +0200 Subject: [PATCH] set the queue types to immediate Similar to what is done in the configuration of integration tests, it helps reduce asynchronous events that require retries and increase delays. --- forgejo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forgejo.sh b/forgejo.sh index ee9ac61..19c1509 100755 --- a/forgejo.sh +++ b/forgejo.sh @@ -41,6 +41,8 @@ function run() { -e "FORGEJO__security__INSTALL_LOCK=true" \ -e "FORGEJO__log__LEVEL=debug" \ -e "FORGEJO__actions__ENABLED=true" \ + -e "FORGEJO__queue__TYPE=immediate" \ + -e "FORGEJO__queue.push_update__TYPE=immediate" \ -e "FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true" \ -e "FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false" \ -e "FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki,repo.projects,repo.packages,$actions_unit" \