aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers/update-videos-scheduler.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-18 09:28:08 +0200
committerChocobozzz <me@florianbigard.com>2018-06-18 10:26:18 +0200
commitb7f1747dc75171368df6ea2ab298971a33af56ed (patch)
treea217c842c6b5502d1d14e5c10eed916820de304f /server/lib/schedulers/update-videos-scheduler.ts
parent80d7cf3a15c533d43e7e7f7a240d0eb89640e1c3 (diff)
downloadPeerTube-b7f1747dc75171368df6ea2ab298971a33af56ed.tar.gz
PeerTube-b7f1747dc75171368df6ea2ab298971a33af56ed.tar.zst
PeerTube-b7f1747dc75171368df6ea2ab298971a33af56ed.zip
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
Diffstat (limited to 'server/lib/schedulers/update-videos-scheduler.ts')
-rw-r--r--server/lib/schedulers/update-videos-scheduler.ts2
1 files changed, 0 insertions, 2 deletions
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 @@
1import { isTestInstance } from '../../helpers/core-utils'
2import { logger } from '../../helpers/logger' 1import { logger } from '../../helpers/logger'
3import { JobQueue } from '../job-queue'
4import { AbstractScheduler } from './abstract-scheduler' 2import { AbstractScheduler } from './abstract-scheduler'
5import { ScheduleVideoUpdateModel } from '../../models/video/schedule-video-update' 3import { ScheduleVideoUpdateModel } from '../../models/video/schedule-video-update'
6import { retryTransactionWrapper } from '../../helpers/database-utils' 4import { retryTransactionWrapper } from '../../helpers/database-utils'