From 57ff13bcd21ec04250b5e3ab04b2e03cfca9859a Mon Sep 17 00:00:00 2001 From: DanB Date: Tue, 6 Nov 2018 18:47:56 +0100 Subject: [PATCH] CDRs with ThresholdS in their own goroutine --- engine/cdrs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/cdrs.go b/engine/cdrs.go index a8a56dfe4..66b5515ca 100644 --- a/engine/cdrs.go +++ b/engine/cdrs.go @@ -202,7 +202,7 @@ func (self *CdrServer) processCdr(cdr *CDR) (err error) { } if self.thdS != nil { // process CDR with thresholdS - self.thdSProcessEvent(cdr.AsCGREvent()) + go self.thdSProcessEvent(cdr.AsCGREvent()) } // Attach raw CDR to stats if self.cdrstats != nil { // Send raw CDR to stats