Add utils
This commit is contained in:
@@ -119,8 +119,8 @@ func (t *TorrentManager) refreshTorrents() []string {
|
||||
return updatedPaths
|
||||
}
|
||||
|
||||
// startRefreshJob periodically refreshes the torrents
|
||||
func (t *TorrentManager) startRefreshJob() {
|
||||
// StartRefreshJob periodically refreshes the torrents
|
||||
func (t *TorrentManager) StartRefreshJob() {
|
||||
_ = t.refreshPool.Submit(func() {
|
||||
t.log.Info("Starting periodic refresh job")
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user