From b7f1747dc75171368df6ea2ab298971a33af56ed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Jun 2018 09:28:08 +0200 Subject: Create webtorrent client on player load So we don't run Angular change detection every 250ms on webtorrent import, when https://github.com/mafintosh/speedometer/pull/7 will be merged --- server/lib/schedulers/update-videos-scheduler.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/lib') diff --git a/server/lib/schedulers/update-videos-scheduler.ts b/server/lib/schedulers/update-videos-scheduler.ts index a964648fd..760475af9 100644 --- a/server/lib/schedulers/update-videos-scheduler.ts +++ b/server/lib/schedulers/update-videos-scheduler.ts @@ -1,6 +1,4 @@ -import { isTestInstance } from '../../helpers/core-utils' import { logger } from '../../helpers/logger' -import { JobQueue } from '../job-queue' import { AbstractScheduler } from './abstract-scheduler' import { ScheduleVideoUpdateModel } from '../../models/video/schedule-video-update' import { retryTransactionWrapper } from '../../helpers/database-utils' -- cgit v1.2.3