Increase gitea indexer startup timeout

The default indexer timeout is 30 seconds. During a recent gitea restart
gitea01 hit this timeout five times: 150 seconds. Increase the timeout
to double that value: 300 seconds.

This is important to ensure that our graceful restarts are in fact
graceful. We don't want the sshd container running while web is being
restarted multiple times. Doing so can lead to lost replication events
from gerrit.

Change-Id: I1f9253ccd6fbb055f848e186f478651454fee7e0
This commit is contained in:
Clark Boylan 2020-07-31 14:21:50 -07:00
parent 872663a270
commit 8f69015838
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ ROOT = /data/git/repositories
[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
REPO_INDEXER_ENABLED = true
STARTUP_TIMEOUT = 300
[session]
PROVIDER_CONFIG = /data/gitea/sessions