Simplify bin
This commit is contained in:
@@ -53,9 +53,8 @@ type TorrentManager struct {
|
||||
repairRunning bool
|
||||
repairRunningMu sync.Mutex
|
||||
|
||||
OnceDoneBin mapset.Set[string]
|
||||
DeleteOnCompletionBin cmap.ConcurrentMap[string, string]
|
||||
hasFFprobe bool
|
||||
OnceDoneBin mapset.Set[string]
|
||||
hasFFprobe bool
|
||||
}
|
||||
|
||||
// NewTorrentManager creates a new torrent manager
|
||||
@@ -86,9 +85,8 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
|
||||
|
||||
latestState: &LibraryState{log: log},
|
||||
|
||||
OnceDoneBin: mapset.NewSet[string](),
|
||||
DeleteOnCompletionBin: cmap.New[string](),
|
||||
hasFFprobe: hasFFprobe,
|
||||
OnceDoneBin: mapset.NewSet[string](),
|
||||
hasFFprobe: hasFFprobe,
|
||||
}
|
||||
|
||||
t.initializeBins()
|
||||
|
||||
Reference in New Issue
Block a user