From 2e5cf226265686012329248e7f729fec324c3deb Mon Sep 17 00:00:00 2001 From: Fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Sat, 18 Mar 2023 04:08:54 +0500 Subject: [PATCH] fix: disable availability sync temporarily This PR disables availability sync temporarily as the current one does not have jellyfin/emby sync ported into it. This would ensure that jellyseerr does not bug out and start removing availability from media despite it being available on jellyfin/emby/*arr as well as their requests. --- server/job/schedule.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/job/schedule.ts b/server/job/schedule.ts index 435506bcd..bb56ea82e 100644 --- a/server/job/schedule.ts +++ b/server/job/schedule.ts @@ -1,5 +1,4 @@ import { MediaServerType } from '@server/constants/server'; -import availabilitySync from '@server/lib/availabilitySync'; import downloadTracker from '@server/lib/downloadtracker'; import ImageProxy from '@server/lib/imageproxy'; import { plexFullScanner, plexRecentScanner } from '@server/lib/scanners/plex'; @@ -154,7 +153,7 @@ export const startJobs = (): void => { }); // Checks if media is still available in plex/sonarr/radarr libs - scheduledJobs.push({ + /* scheduledJobs.push({ id: 'availability-sync', name: 'Media Availability Sync', type: 'process', @@ -169,6 +168,7 @@ export const startJobs = (): void => { running: () => availabilitySync.running, cancelFn: () => availabilitySync.cancel(), }); +*/ // Run download sync every minute scheduledJobs.push({