mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove unused lock (#9710)
This commit is contained in:
		@@ -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{}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user