Files
2025-10-28 20:31:36 +01:00

26 lines
1.6 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)
"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: *http_post, CDR replication)
"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": ":",
},
}