From b2a540b1322a9c68be5fc7b40d9ab64806142e09 Mon Sep 17 00:00:00 2001 From: andronache Date: Fri, 7 May 2021 11:21:42 +0300 Subject: [PATCH] Changed opts for stordb --- config/config_defaults.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config_defaults.go b/config/config_defaults.go index 8b1729141..5b67178af 100644 --- a/config/config_defaults.go +++ b/config/config_defaults.go @@ -111,7 +111,7 @@ const CGRATES_CFG_JSON = ` "redisCluster": false, // if enabled the datadb will try to connect to the redis cluster "redisClusterSync": "5s", // the sync interval for the redis cluster "redisClusterOndownDelay": "0", // the delay before executing the commands if the redis cluster is in the CLUSTERDOWN state - "mongoQueryTimeout":"10s", + "mongoQueryTimeout":"10s", // timeout for query when mongo is used "redisTLS": false, // if true it will use a tls connection and use the redisClientCertificate, redisClientKey and redisCACertificate for tls connection "redisClientCertificate":"", // path to client certificate "redisClientKey":"", // path to client key @@ -133,7 +133,7 @@ const CGRATES_CFG_JSON = ` "sqlMaxOpenConns": 100, // maximum database connections opened, not applying for mongo "sqlMaxIdleConns": 10, // maximum database connections idle, not applying for mongo "sqlConnMaxLifetime": 0, // maximum amount of time in seconds a connection may be reused (0 for unlimited), not applying for mongo - "mongoQueryTimeout":"10s", + "mongoQueryTimeout":"10s", // timeout for query when mongo is used "sslMode":"disable", // sslMode in case of *postgres "mysqlLocation": "Local", // the location the time from mysql is retrived },