Make db connect more robust (#5738)
This commit is contained in:
parent
f54e0d2f16
commit
1bb22b2b47
4 changed files with 41 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue