镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
extract mirror size from rsync provider automatically
这个提交包含在:
@@ -416,6 +416,12 @@ func (w *Worker) updateStatus(job *mirrorJob, jobMsg jobMessage) {
|
||||
ErrorMsg: jobMsg.msg,
|
||||
}
|
||||
|
||||
// Certain Providers (rsync for example) may know the size of mirror,
|
||||
// so we report it to Manager here
|
||||
if len(job.size) != 0 {
|
||||
smsg.Size = job.size
|
||||
}
|
||||
|
||||
for _, root := range w.cfg.Manager.APIBaseList() {
|
||||
url := fmt.Sprintf(
|
||||
"%s/workers/%s/jobs/%s", root, w.Name(), jobMsg.name,
|
||||
|
||||
在新工单中引用
屏蔽一个用户