mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
27 lines
1.8 KiB
JSON
27 lines
1.8 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
// Used in multifile configuration tests
|
|
// Should be the second file loaded
|
|
|
|
"general": {
|
|
"node_id": "d80fac5", // identifier of this instance in the cluster, if empty it will be autogenerated
|
|
"logger":"*env:LOGGER", // controls the destination of logs <*syslog|*stdout>
|
|
"log_level": *env:LOG_LEVEL, // control the level of messages logged (0-emerg to 7-debug)
|
|
"http_skip_tls_verify": *env:TLS_VERIFY, // if enabled Http Client will accept any TLS certificate
|
|
"rounding_decimals": *env:ROUND_DEC, // system level precision for floats
|
|
"dbdata_encoding": "*env:DB_ENCODING", // encoding used to store object data in strings: <*msgpack|*json>
|
|
"tpexport_dir": "*env:TP_EXPORT_DIR", // path towards export folder for offline Tariff Plans
|
|
"poster_attempts": 3, // number of attempts before considering post request failed (eg: *call_url, CDR replication)
|
|
"failed_posts_dir": "*env:FAILED_POSTS_DIR", // directory path where we store failed requests
|
|
"default_tenant": "*env:DF_TENANT", // default tenant to consider when missing from requests
|
|
"default_timezone": "*env:TIMEZONE", // default timezone for timestamps where not specified <""|UTC|Local|$IANA_TZ_DB>
|
|
"connect_attempts": 3, // initial server connect attempts
|
|
"reconnects": -1, // number of retries in case of connection lost
|
|
"connect_timeout": "1s", // consider connection unsuccessful on timeout, 0 to disable the feature
|
|
"reply_timeout": "2s", // consider connection down for replies taking longer than this value
|
|
"response_cache_ttl": "0s", // the life span of a cached response
|
|
"locking_timeout": "0", // timeout internal locks to avoid deadlocks
|
|
"digest_separator": ",",
|
|
"digest_equal": ":",
|
|
},
|
|
} |