镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
feature(worker): LogLimiter hook
这个提交包含在:
@@ -44,6 +44,18 @@ func (m *mirrorJob) Name() string {
|
||||
return m.provider.Name()
|
||||
}
|
||||
|
||||
func (m *mirrorJob) Stopped() bool {
|
||||
if !m.enabled {
|
||||
return true
|
||||
}
|
||||
select {
|
||||
case <-m.stopped:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
// runMirrorJob is the goroutine where syncing job runs in
|
||||
// arguments:
|
||||
// provider: mirror provider object
|
||||
|
||||
在新工单中引用
屏蔽一个用户