ees: remove init from libcdre, rename to failedposts

This commit is contained in:
ionutboangiu
2025-10-24 18:08:47 +03:00
committed by Dan Christian Bogos
parent 295ddec792
commit 4c30ec4e4c
6 changed files with 8 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ type GlobalVarS struct {
// Start should handle the sercive start
func (gv *GlobalVarS) Start() (err error) {
engine.SetRoundingDecimals(gv.cfg.GeneralCfg().RoundingDecimals)
ees.SetFailedPostCacheTTL(gv.cfg.EEsCfg().FailedPosts.TTL, gv.cfg.EEsCfg().FailedPosts.StaticTTL)
ees.InitFailedPostCache(gv.cfg.EEsCfg().FailedPosts.TTL, gv.cfg.EEsCfg().FailedPosts.StaticTTL)
engine.SetHTTPPstrTransport(gv.cfg.HTTPCfg().ClientOpts)
return nil
}