mirror of
https://github.com/go-gitea/gitea
synced 2025-07-10 12:37:19 +00:00
* Prevent deadlock on boost * Force a boost in testchannelqueue
This commit is contained in:
@ -96,8 +96,8 @@ func (p *WorkerPool) pushBoost(data Data) {
|
||||
p.blockTimeout /= 2
|
||||
p.lock.Unlock()
|
||||
}()
|
||||
p.addWorkers(ctx, boost)
|
||||
p.lock.Unlock()
|
||||
p.addWorkers(ctx, boost)
|
||||
p.dataChan <- data
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user