mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 14:48:43 +05:00
work on cache transactions
This commit is contained in:
@@ -31,7 +31,11 @@ var acntDb AccountingStorage
|
||||
|
||||
func init() {
|
||||
cfgDcT, _ = config.NewDefaultCGRConfig()
|
||||
acntDb, _ = NewMapStorage()
|
||||
if DEBUG {
|
||||
acntDb, _ = NewMapStorage()
|
||||
} else {
|
||||
acntDb, _ = NewRedisStorage("127.0.0.1:6379", 13, "", utils.MSGPACK)
|
||||
}
|
||||
acntDb.CacheAccounting(nil, nil, nil, nil)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user