From a3b472a12ec6e57dbe2f650419f8064864686eab Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 Aug 2022 11:51:13 +0200 Subject: Add ability to list imports of a channel sync --- server/lib/schedulers/video-channel-sync-latest-scheduler.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server/lib/schedulers') diff --git a/server/lib/schedulers/video-channel-sync-latest-scheduler.ts b/server/lib/schedulers/video-channel-sync-latest-scheduler.ts index fd9a35299..491ddaa87 100644 --- a/server/lib/schedulers/video-channel-sync-latest-scheduler.ts +++ b/server/lib/schedulers/video-channel-sync-latest-scheduler.ts @@ -36,10 +36,6 @@ export class VideoChannelSyncLatestScheduler extends AbstractScheduler { const onlyAfter = sync.lastSyncAt || sync.createdAt - sync.state = VideoChannelSyncState.PROCESSING - sync.lastSyncAt = new Date() - await sync.save() - await synchronizeChannel({ channel, externalChannelUrl: sync.externalChannelUrl, -- cgit v1.2.3