From fd6cc2e0bf325fd68ba35272804243ecfb6c295f Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 24 Sep 2020 09:39:29 -0700 Subject: [PATCH] Put a unit on gitea's indexer STARTUP_TIMEOUT We had assigned a value of 300 to this setting but gitea ignored it and continued to use a 30 second timeout instead. Rereading docs and code it appears that we may need a unit to accompany the value. Set it to 300s instead of 300. Change-Id: I763092c0371a15a417313ed05a9fd27d0e6e7f93 --- playbooks/roles/gitea/templates/app.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/gitea/templates/app.ini.j2 b/playbooks/roles/gitea/templates/app.ini.j2 index 72d605f63e..30786fd3e1 100644 --- a/playbooks/roles/gitea/templates/app.ini.j2 +++ b/playbooks/roles/gitea/templates/app.ini.j2 @@ -35,7 +35,7 @@ ROOT = /data/git/repositories [indexer] ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve REPO_INDEXER_ENABLED = true -STARTUP_TIMEOUT = 300 +STARTUP_TIMEOUT = 300s [session] PROVIDER_CONFIG = /data/gitea/sessions