mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated SessionS.V1ProcessEvent integration tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
b8e6678ca1
commit
aaba103bd8
@@ -481,12 +481,19 @@ func main() {
|
||||
})
|
||||
|
||||
dmService := services.NewDataDBService(cfg, connManager)
|
||||
storDBService := services.NewStorDBService(cfg)
|
||||
if dmService.ShouldRun() { // Some services can run without db, ie: ERs
|
||||
if err = dmService.Start(); err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
storDBService := services.NewStorDBService(cfg)
|
||||
if storDBService.ShouldRun() { // Some services can run without db, ie: ERs
|
||||
if err = storDBService.Start(); err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
// Done initing DBs
|
||||
engine.SetRoundingDecimals(cfg.GeneralCfg().RoundingDecimals)
|
||||
engine.SetFailedPostCacheTTL(cfg.GeneralCfg().FailedPostsTTL)
|
||||
|
||||
Reference in New Issue
Block a user