Repair logic
This commit is contained in:
@@ -28,6 +28,7 @@ type TorrentManager struct {
|
||||
DownloadCache cmap.ConcurrentMap[string, *realdebrid.Download]
|
||||
DownloadMap cmap.ConcurrentMap[string, *realdebrid.Download]
|
||||
allAccessKeys mapset.Set[string]
|
||||
forRepairs mapset.Set[string]
|
||||
latestState *LibraryState
|
||||
requiredVersion string
|
||||
workerPool *ants.Pool
|
||||
@@ -42,6 +43,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, p
|
||||
Config: cfg,
|
||||
Api: api,
|
||||
allAccessKeys: mapset.NewSet[string](),
|
||||
forRepairs: mapset.NewSet[string](),
|
||||
latestState: &LibraryState{},
|
||||
requiredVersion: "11.01.2024",
|
||||
workerPool: p,
|
||||
|
||||
Reference in New Issue
Block a user