Added GlobalVarS as service to manage the reload for the global variables

This commit is contained in:
Trial97
2020-10-16 11:41:07 +03:00
committed by Dan Christian Bogos
parent e0e9190abf
commit 616f7b283c
28 changed files with 599 additions and 390 deletions

View File

@@ -85,7 +85,10 @@
// "redis_cluster_sync": "5s", // the sync interval for the redis cluster
// "redis_cluster_ondown_delay": "0", // the delay before executing the commands if the redis cluster is in the CLUSTERDOWN state
// "query_timeout":"10s",
// "redis_tls": false, // if true it will use a tls connection and use the client certificate, key and ca_certificate for tls connection
// "redis_tls": false, // if true it will use a tls connection and use the redis_client_certificate certificate, redis_client_key and redis_ca_certificate for tls connection
// "redis_client_certificate":"", // path to client certificate
// "redis_client_key":"", // path to client key
// "redis_ca_certificate":"", // path to CA certificate (populate for self-signed certificate otherwise let it empty)
// }
// },
@@ -165,22 +168,22 @@
// "use_basic_auth": false, // use basic authentication
// "auth_users": {}, // basic authentication usernames and base64-encoded passwords (eg: { "username1": "cGFzc3dvcmQ=", "username2": "cGFzc3dvcmQy "})
// "client_opts":{
// "skip_tls_verify": false, // if enabled Http Client will accept any TLS certificate
// "skipTlsVerify": false, // if enabled Http Client will accept any TLS certificate
// // the options to configure the http.Transport
// "tls_handshake_timeout": "10s",
// "disable_keep_alives": false,
// "disable_compression": false,
// "max_idle_conns": 100,
// "max_idle_conns_per_host": 2,
// "max_conns_per_host": 0,
// "idle_conn_timeout": "90s",
// "response_header_timeout": "0",
// "expect_continue_timeout": "0",
// "force_attempt_http2": true,
// "tlsHandshakeTimeout": "10s",
// "disableKeepAlives": false,
// "disableCompression": false,
// "maxIdleConns": 100,
// "maxIdleConnsPerHost": 2,
// "maxConnsPerHost": 0,
// "idleConnTimeout": "90s",
// "responseHeaderTimeout": "0",
// "expectContinueTimeout": "0",
// "forceAttemptHttp2": true,
// // the optins to configure the net.Dialer
// "dial_timeout": "30s",
// "dial_fallback_delay": "300ms",
// "dial_keep_alive": "30s",
// "dialTimeout": "30s",
// "dialFallbackDelay": "300ms",
// "dialKeepAlive": "30s",
// },
// },
@@ -869,7 +872,11 @@
// "redis_sentinel": "",
// "redis_cluster": false,
// "redis_cluster_sync": "5s",
// "redis_cluster_ondown_delay": "0",
// "redis_cluster_ondown_delay": "0",
// "redis_tls": false, // if true it will use a tls connection and use the redis_client_certificate, redis_client_key and redis_ca_certificate for tls connection
// "redis_client_certificate":"", // path to client certificate
// "redis_client_key":"", // path to client key
// "redis_ca_certificate":"", // path to CA certificate (populate for self-signed certificate otherwise let it empty)
// },
// "out_stordb_opts":{},
// },