ResourceS - moving short cache to general cache

This commit is contained in:
DanB
2017-09-07 11:53:31 +02:00
parent 25babe9746
commit 5108e88e42
8 changed files with 29 additions and 42 deletions

View File

@@ -539,7 +539,7 @@ func startResourceService(internalRsChan, internalStatSConn chan rpcclient.RpcCl
return
}
}
rS, err := engine.NewResourceService(dataDB, cfg.ResourceSCfg().ShortCache, cfg.ResourceSCfg().StoreInterval, statsConn)
rS, err := engine.NewResourceService(dataDB, cfg.ResourceSCfg().StoreInterval, statsConn)
if err != nil {
utils.Logger.Crit(fmt.Sprintf("<ResourceS> Could not init, error: %s", err.Error()))
exitChan <- true