diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-18 09:28:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-18 10:26:18 +0200 |
commit | b7f1747dc75171368df6ea2ab298971a33af56ed (patch) | |
tree | a217c842c6b5502d1d14e5c10eed916820de304f /client/src/app/app.module.ts | |
parent | 80d7cf3a15c533d43e7e7f7a240d0eb89640e1c3 (diff) | |
download | PeerTube-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 'client/src/app/app.module.ts')
-rw-r--r-- | client/src/app/app.module.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 51e354378..003c91009 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -16,7 +16,7 @@ import { MenuComponent } from './menu' | |||
16 | import { SharedModule } from './shared' | 16 | import { SharedModule } from './shared' |
17 | import { SignupModule } from './signup' | 17 | import { SignupModule } from './signup' |
18 | import { VideosModule } from './videos' | 18 | import { VideosModule } from './videos' |
19 | import { buildFileLocale, getCompleteLocale, getDefaultLocale, isDefaultLocale } from '../../../shared/models/i18n' | 19 | import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '../../../shared/models/i18n' |
20 | import { getDevLocale, isOnDevLocale } from '@app/shared/i18n/i18n-utils' | 20 | import { getDevLocale, isOnDevLocale } from '@app/shared/i18n/i18n-utils' |
21 | 21 | ||
22 | export function metaFactory (serverService: ServerService): MetaLoader { | 22 | export function metaFactory (serverService: ServerService): MetaLoader { |