summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJerry Kurian <jkurian@users.noreply.github.com>2018-06-28 09:45:20 -0400
committerJesse Hallam <jesse.hallam@gmail.com>2018-06-28 09:45:20 -0400
commit4b2a6263547363c43dba9c320c077ad295caaf4d (patch)
treecc44d642e78a16e8d1c83bf7d7bdc9e57bcdd6f3 /config
parent66dc9a5206b318a92f5cd9b41d53abc461c4deb5 (diff)
downloadchat-4b2a6263547363c43dba9c320c077ad295caaf4d.tar.gz
chat-4b2a6263547363c43dba9c320c077ad295caaf4d.tar.bz2
chat-4b2a6263547363c43dba9c320c077ad295caaf4d.zip
add MaxLifetimeconns to server (#9004)
Update e.json string names and remove console log reorder variables update db.setConnMaxLifetime to take in *settings.MaxLifetimeConns Add MaxLifetimeConns to test Update variable names like MaxLifetimeConns to ConnMaxLifetimeMilliseconds Update time passed to SetConnMaxLifetime Revert "Update time passed to SetConnMaxLifetime" This reverts commit dc1c1b6d5a6404d4ee11c65d4756c19f9316794f. update en.json Update supplier_test.go and docker.go ConnMaxLifetimeMilliseconds to 3600000
Diffstat (limited to 'config')
-rw-r--r--config/default.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/default.json b/config/default.json
index 2d1e6ceec..6e4f6d1eb 100644
--- a/config/default.json
+++ b/config/default.json
@@ -119,6 +119,7 @@
"DataSourceReplicas": [],
"DataSourceSearchReplicas": [],
"MaxIdleConns": 20,
+ "ConnMaxLifetimeMilliseconds": 3600000,
"MaxOpenConns": 300,
"Trace": false,
"AtRestEncryptKey": "",