diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-08-27 13:28:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 16:03:57 +0200 |
commit | c9d5c64f98c1f1fe7950de60c58edeaf3ace070d (patch) | |
tree | 26d828e560054cf8a64628823d3dd86172d44f52 /server/lib/schedulers | |
parent | 0ee027347ae09ea397e9b85702707e9179537ebd (diff) | |
download | PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.tar.gz PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.tar.zst PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.zip |
replace fs by fs-extra to prevent EMFILE error
Diffstat (limited to 'server/lib/schedulers')
-rw-r--r-- | server/lib/schedulers/youtube-dl-update-scheduler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/schedulers/youtube-dl-update-scheduler.ts b/server/lib/schedulers/youtube-dl-update-scheduler.ts index 24cd3f87b..da47378e8 100644 --- a/server/lib/schedulers/youtube-dl-update-scheduler.ts +++ b/server/lib/schedulers/youtube-dl-update-scheduler.ts | |||
@@ -5,7 +5,7 @@ import { AbstractScheduler } from './abstract-scheduler' | |||
5 | import { SCHEDULER_INTERVALS_MS } from '../../initializers' | 5 | import { SCHEDULER_INTERVALS_MS } from '../../initializers' |
6 | import { logger } from '../../helpers/logger' | 6 | import { logger } from '../../helpers/logger' |
7 | import * as request from 'request' | 7 | import * as request from 'request' |
8 | import { createWriteStream, writeFile } from 'fs' | 8 | import { createWriteStream, writeFile } from 'fs-extra' |
9 | import { join } from 'path' | 9 | import { join } from 'path' |
10 | import { mkdirpPromise, root } from '../../helpers/core-utils' | 10 | import { mkdirpPromise, root } from '../../helpers/core-utils' |
11 | 11 | ||