0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-01 16:14:07 -04:00

Remove unused lock (#9710)

This commit is contained in:
zeripath
2020-01-11 19:06:39 +00:00
committed by GitHub
parent 0e53a16cca
commit f8ea50cc7a
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{}
}