feat/updates #1
1 changed files with 2 additions and 0 deletions
|
|
@ -103,7 +103,9 @@ func NewQueueService(config *ConfigService) *QueueService {
|
|||
seen: make(map[string]bool),
|
||||
}
|
||||
heap.Init(&q.issues)
|
||||
q.mu.Lock()
|
||||
q.load() // Load persisted queue
|
||||
q.mu.Unlock()
|
||||
return q
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue