From 4b2a6263547363c43dba9c320c077ad295caaf4d Mon Sep 17 00:00:00 2001 From: Jerry Kurian Date: Thu, 28 Jun 2018 09:45:20 -0400 Subject: 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 --- config/default.json | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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": "", -- cgit v1.2.3-1-g7c22