Prevent race condition with downloaded id
This commit is contained in:
@@ -64,7 +64,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
|
||||
t.fixers = t.readFixersFromFile()
|
||||
t.initializeDirectories()
|
||||
t.workerPool.Submit(func() {
|
||||
t.refreshTorrents()
|
||||
t.refreshTorrents(true)
|
||||
t.setNewLatestState(t.getCurrentState())
|
||||
t.StartRefreshJob()
|
||||
t.StartRepairJob()
|
||||
|
||||
Reference in New Issue
Block a user