mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
global rounding default set to 5
This commit is contained in:
@@ -29,7 +29,7 @@ const CGRATES_CFG_JSON = `
|
||||
|
||||
"general": {
|
||||
"http_skip_tls_verify": false, // if enabled Http Client will accept any TLS certificate
|
||||
"rounding_decimals": 10, // system level precision for floats
|
||||
"rounding_decimals": 5, // system level precision for floats
|
||||
"dbdata_encoding": "msgpack", // encoding used to store object data in strings: <msgpack|json>
|
||||
"tpexport_dir": "/var/log/cgrates/tpe", // path towards export folder for offline Tariff Plans
|
||||
"http_failed_dir": "/var/log/cgrates/http_failed", // directory path where we store failed http requests
|
||||
|
||||
@@ -74,7 +74,7 @@ var (
|
||||
storageLogger LogStorage
|
||||
cdrStorage CdrStorage
|
||||
debitPeriod = 10 * time.Second
|
||||
globalRoundingDecimals = 10
|
||||
globalRoundingDecimals = 5
|
||||
historyScribe history.Scribe
|
||||
pubSubServer PublisherSubscriber
|
||||
userService UserService
|
||||
@@ -83,7 +83,7 @@ var (
|
||||
|
||||
// Exported method to set the storage getter.
|
||||
func SetRatingStorage(sg RatingStorage) {
|
||||
ratingStorage = sg
|
||||
ratingStorage = sg
|
||||
}
|
||||
|
||||
func SetAccountingStorage(ag AccountingStorage) {
|
||||
|
||||
Reference in New Issue
Block a user