diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-16 15:03:00 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | d133f3858288b20d790e9bb57664fc6e22d9aeaf (patch) | |
tree | 5ff8d553337bd97d92b0d5004e23239e4668721a /server/initializers/config.ts | |
parent | e0ce715a1ded6e84c877004dae3e354c8716fb06 (diff) | |
download | PeerTube-d133f3858288b20d790e9bb57664fc6e22d9aeaf.tar.gz PeerTube-d133f3858288b20d790e9bb57664fc6e22d9aeaf.tar.zst PeerTube-d133f3858288b20d790e9bb57664fc6e22d9aeaf.zip |
Check latest plugins version with config interval
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 2c1b30021..58241e4ea 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -137,7 +137,8 @@ const CONFIG = { | |||
137 | PLUGINS: { | 137 | PLUGINS: { |
138 | INDEX: { | 138 | INDEX: { |
139 | ENABLED: config.get<boolean>('plugins.index.enabled'), | 139 | ENABLED: config.get<boolean>('plugins.index.enabled'), |
140 | URL: config.get<boolean>('plugins.index.url') | 140 | CHECK_LATEST_VERSIONS_INTERVAL: parseDurationToMs(config.get<string>('plugins.index.check_latest_versions_interval')), |
141 | URL: config.get<string>('plugins.index.url') | ||
141 | } | 142 | } |
142 | }, | 143 | }, |
143 | ADMIN: { | 144 | ADMIN: { |