Browse Source

Missed q.lock.Unlock() will cause panic (#9705)

tags/v1.12.0-dev
zeripath GitHub 5 years ago
parent
commit
b3e3ffafc4
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      modules/queue/queue_wrapped.go

+ 0
- 1
modules/queue/queue_wrapped.go View File

@@ -62,7 +62,6 @@ func (q *delayedStarter) setInternal(atShutdown func(context.Context, func()), h
queue, err := NewQueue(q.underlying, handle, q.cfg, exemplar)
if err == nil {
q.internal = queue
q.lock.Unlock()
break
}
if err.Error() != "resource temporarily unavailable" {


Loading…
Cancel
Save