Small tweak to repair
This commit is contained in:
@@ -60,14 +60,19 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
|
||||
workerPool: workerPool,
|
||||
log: log,
|
||||
}
|
||||
|
||||
t.fixers = t.readFixersFromFile()
|
||||
t.initializeDirectories()
|
||||
t.refreshTorrents()
|
||||
t.setNewLatestState(t.getCurrentState())
|
||||
t.StartRefreshJob()
|
||||
t.StartRepairJob()
|
||||
t.mountDownloads()
|
||||
t.StartDownloadsJob()
|
||||
t.workerPool.Submit(func() {
|
||||
t.refreshTorrents()
|
||||
t.setNewLatestState(t.getCurrentState())
|
||||
t.StartRefreshJob()
|
||||
t.StartRepairJob()
|
||||
})
|
||||
t.workerPool.Submit(func() {
|
||||
t.mountDownloads()
|
||||
t.StartDownloadsJob()
|
||||
})
|
||||
|
||||
return t
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user