mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
fixes and updated cache stats API
This commit is contained in:
@@ -119,6 +119,9 @@ func (s *Scheduler) loadActionPlans() {
|
||||
// recreate the queue
|
||||
s.queue = engine.ActionTimingPriorityList{}
|
||||
for _, actionPlan := range actionPlans {
|
||||
if actionPlan == nil {
|
||||
continue
|
||||
}
|
||||
for _, at := range actionPlan.ActionTimings {
|
||||
if at.Timing == nil {
|
||||
utils.Logger.Warning(fmt.Sprintf("<Scheduler> Nil timing on action plan: %+v, discarding!", at))
|
||||
|
||||
Reference in New Issue
Block a user