mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
write tasks on loadaccountactions
This commit is contained in:
@@ -96,7 +96,7 @@ func (s *Scheduler) loadActionPlans() {
|
||||
s.Lock()
|
||||
defer s.Unlock()
|
||||
// limit the number of concurrent tasks
|
||||
var limit = make(chan bool, 10)
|
||||
limit := make(chan bool, 10)
|
||||
// execute existing tasks
|
||||
for {
|
||||
task, err := s.storage.PopTask()
|
||||
|
||||
Reference in New Issue
Block a user