镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
fix(worker): do not reload if config has errors
这个提交包含在:
@@ -70,8 +70,9 @@ func startWorker(c *cli.Context) {
|
||||
newCfg, err := worker.LoadConfig(c.String("config"))
|
||||
if err != nil {
|
||||
logger.Errorf("Error loading config: %s", err.Error())
|
||||
} else {
|
||||
w.ReloadMirrorConfig(newCfg.Mirrors)
|
||||
}
|
||||
w.ReloadMirrorConfig(newCfg.Mirrors)
|
||||
case syscall.SIGINT, syscall.SIGTERM:
|
||||
w.Halt()
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户