mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
CDRs with ThresholdS in their own goroutine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user