From 1bb22b2b4777b47b05bf023d7737c03dc9560b09 Mon Sep 17 00:00:00 2001 From: Paul Brackin Date: Sat, 19 Jan 2019 13:17:08 -0800 Subject: Make db connect more robust (#5738) --- custom/conf/app.ini.sample | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'custom') diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 20de7236bc..6fe3e984de 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -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 -- cgit v1.2.3