1
0
Fork 0
forked from forgejo/forgejo

Remove unused lock (#9709)

This commit is contained in:
zeripath 2020-01-11 19:06:35 +00:00 committed by GitHub
parent edd31770aa
commit 960ac36099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,7 @@ package queue
import (
"context"
"sync"
"time"
"code.gitea.io/gitea/modules/log"
@ -33,6 +34,7 @@ type PersistableChannelQueueConfiguration struct {
type PersistableChannelQueue struct {
*ChannelQueue
delayedStarter
lock sync.Mutex
closed chan struct{}
}