Make db connect more robust (#5738)

This commit is contained in:
Paul Brackin authored and techknowlogick committed 2019-01-19 16:17:08 -05:00
1 parent f54e0d2f16
commit 1bb22b2b47
4 files changed
+41 -10

No files matched your search

+5
View File
@@ -242,6 +242,11 @@ SQLITE_TIMEOUT = 500
ITERATE_BUFFER_SIZE = 50
; Show the database generated SQL
LOG_SQL = true
; Maximum number of DB Connect retries
DB_RETRIES = 10
; Backoff time per DB retry (time.Duration)
DB_RETRY_BACKOFF = 3s
[indexer]
ISSUE_INDEXER_PATH = indexers/issues.bleve