summaryrefslogtreecommitdiffstats
path: root/docs/content/doc
diff options
context:
space:
mode:
authorPaul Brackin <pbrackin@users.noreply.github.com>2019-01-19 13:17:08 -0800
committertechknowlogick <hello@techknowlogick.com>2019-01-19 16:17:08 -0500
commit1bb22b2b4777b47b05bf023d7737c03dc9560b09 (patch)
tree37373f5a1f9d13c66bdee8579f4455a3b316cfb6 /docs/content/doc
parentf54e0d2f16b7e29b01d5745d94915e5ef52a9455 (diff)
downloadgitea-1bb22b2b4777b47b05bf023d7737c03dc9560b09.tar.gz
gitea-1bb22b2b4777b47b05bf023d7737c03dc9560b09.zip
Make db connect more robust (#5738)
Diffstat (limited to 'docs/content/doc')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 6d17f78cef..ed4fce2aa7 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -145,6 +145,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `SSL_MODE`: **disable**: For PostgreSQL and MySQL only.
- `PATH`: **data/gitea.db**: For SQLite3 only, the database file path.
- `LOG_SQL`: **true**: Log the executed SQL.
+- `DB_RETRIES`: **10**: How many ORM init / DB connect attempts allowed.
+- `DB_RETRY_BACKOFF`: **3s*: time.Duration to wait before trying another ORM init / DB connect attempt, if failure occured.
## Indexer (`indexer`)