Update SMCostRetries backoff increment unit to ms

This commit is contained in:
ionutboangiu
2024-01-25 11:26:39 -05:00
committed by Dan Christian Bogos
parent 5c96ecf27e
commit 911cd1b607

View File

@@ -175,7 +175,7 @@ func (cdrS *CDRServer) rateCDR(cdr *CDRWithAPIOpts) ([]*CDR, error) {
(cdr.Usage != 0 || hasLastUsed) && cdr.CostDetails == nil {
// ToDo: Get rid of Prepaid as soon as we don't want to support it backwards
// Should be previously calculated and stored in DB
fib := utils.FibDuration(time.Second, 0)
fib := utils.FibDuration(time.Millisecond, 0)
var smCosts []*SMCost
cgrID := cdr.CGRID
if _, hasIT := cdr.ExtraFields[utils.OriginIDPrefix]; hasIT {