Fix access key set not updating properly

This commit is contained in:
Ben Sarmiento
2023-12-07 10:59:43 +01:00
parent 8fe1c3249d
commit 35bffc12f5
4 changed files with 33 additions and 21 deletions

View File

@@ -35,9 +35,9 @@ func (t *TorrentManager) repairAll() {
func (t *TorrentManager) Repair(torrent *Torrent) {
_ = t.repairWorker.Submit(func() {
t.log.Info("Repairing torrent %s", torrent.AccessKey)
t.log.Infof("Repairing torrent %s", torrent.AccessKey)
t.repair(torrent)
t.log.Info("Finished repairing torrent %s", torrent.AccessKey)
t.log.Infof("Finished repairing torrent %s", torrent.AccessKey)
})
var updatedPaths []string