mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-18 06:38:31 +01:00
Remove unnecessary socket event causing OOM
This commit is contained in:
1 parent
5a2bdc58da
commit
b50d7f0927
2 files changed
-7
No files matched your search
@@ -63,7 +63,6 @@ class PodcastManager {
|
||||
}
|
||||
|
||||
async startPodcastEpisodeDownload(podcastEpisodeDownload) {
|
||||
SocketAuthority.emitter('episode_download_queue_updated', this.getDownloadQueueDetails())
|
||||
if (this.currentDownload) {
|
||||
this.downloadQueue.push(podcastEpisodeDownload)
|
||||
SocketAuthority.emitter('episode_download_queued', podcastEpisodeDownload.toJSONForClient())
|
||||
@@ -149,7 +148,6 @@ class PodcastManager {
|
||||
TaskManager.taskFinished(task)
|
||||
|
||||
SocketAuthority.emitter('episode_download_finished', this.currentDownload.toJSONForClient())
|
||||
SocketAuthority.emitter('episode_download_queue_updated', this.getDownloadQueueDetails())
|
||||
|
||||
Watcher.removeIgnoreDir(this.currentDownload.libraryItem.path)
|
||||
|
||||
|
||||
Reference in new issue
Block a user