Skip to content

Commit

Permalink
fix: disable availability sync temporarily
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Fallenbagel committed Mar 17, 2023
1 parent 8b38015 commit 2e5cf22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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';
Expand Down Expand Up @@ -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',
Expand All @@ -169,6 +168,7 @@ export const startJobs = (): void => {
running: () => availabilitySync.running,
cancelFn: () => availabilitySync.cancel(),
});
*/

// Run download sync every minute
scheduledJobs.push({
Expand Down

0 comments on commit 2e5cf22

Please sign in to comment.