mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update stats_queue.go
This commit is contained in:
@@ -76,7 +76,7 @@ func (sq *StatsQueue) UpdateConf(conf *CdrStats) {
|
||||
sq.mux.Lock()
|
||||
defer sq.mux.Unlock()
|
||||
// check if new conf asks for action trigger reset only
|
||||
if sq.conf != nil && (!conf.hasGeneralConfigs() || sq.conf.equalExceptTriggers(conf)) {
|
||||
if sq.conf != nil && (conf.hasGeneralConfigs() || sq.conf.equalExceptTriggers(conf)) {
|
||||
sq.conf.Triggers = conf.Triggers
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user