diff --git a/server/services/torrentService.ts b/server/services/torrentService.ts index 7afb80d8..64c313b2 100644 --- a/server/services/torrentService.ts +++ b/server/services/torrentService.ts @@ -41,7 +41,10 @@ class TorrentService extends BaseService { // starts polling when the first streaming listener is added this.on('newListener', (event) => { if (event === 'TORRENT_LIST_DIFF_CHANGE') { - this.pollInterval = config.torrentClientPollInterval; + if (this.pollInterval !== config.torrentClientPollInterval) { + this.pollInterval = config.torrentClientPollInterval; + this.deferFetchTorrentList(); + } } });