diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-22 16:25:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-22 16:25:16 +0200 |
commit | 7fb2c60bbe97fe50a8f459858bf89d311df29690 (patch) | |
tree | 9536d7cd8ee215d914974b1bbf67b0443f8dc5cb /server/initializers | |
parent | 36de29dfb2fde57a328d16dc91ee19cd418c1e3c (diff) | |
download | PeerTube-7fb2c60bbe97fe50a8f459858bf89d311df29690.tar.gz PeerTube-7fb2c60bbe97fe50a8f459858bf89d311df29690.tar.zst PeerTube-7fb2c60bbe97fe50a8f459858bf89d311df29690.zip |
Remove sync call in logger
Winston already does it
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/config.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index e20efe02c..cab60a61f 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -6,7 +6,6 @@ import { VideoRedundancyConfigFilter } from '@shared/models/redundancy/video-red | |||
6 | import { BroadcastMessageLevel } from '@shared/models/server' | 6 | import { BroadcastMessageLevel } from '@shared/models/server' |
7 | import { VideosRedundancyStrategy } from '../../shared/models' | 7 | import { VideosRedundancyStrategy } from '../../shared/models' |
8 | import { NSFWPolicyType } from '../../shared/models/videos/nsfw-policy.type' | 8 | import { NSFWPolicyType } from '../../shared/models/videos/nsfw-policy.type' |
9 | // Do not use barrels, remain constants as independent as possible | ||
10 | import { buildPath, parseBytes, parseDurationToMs, root } from '../helpers/core-utils' | 9 | import { buildPath, parseBytes, parseDurationToMs, root } from '../helpers/core-utils' |
11 | 10 | ||
12 | // Use a variable to reload the configuration if we need | 11 | // Use a variable to reload the configuration if we need |