global rounding default set to 5

This commit is contained in:
Radu Ioan Fericean
2015-10-30 12:34:30 +02:00
parent 1e1c115ed4
commit 362c6fa7c6
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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) {