aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-03 14:00:40 +0100
committerChocobozzz <me@florianbigard.com>2021-12-03 14:01:38 +0100
commit6d472b4046084e5f477124b11ac62dca9f6a1a63 (patch)
treed00c0223b92d8f77e68d46f7bc9e861725172b8e /server/initializers
parent390366472d7239864060753c63513d0f316ca468 (diff)
downloadPeerTube-6d472b4046084e5f477124b11ac62dca9f6a1a63.tar.gz
PeerTube-6d472b4046084e5f477124b11ac62dca9f6a1a63.tar.zst
PeerTube-6d472b4046084e5f477124b11ac62dca9f6a1a63.zip
Decrease time to cleanup resumable uploads
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index b8633e83e..c61c01d62 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -223,7 +223,7 @@ const SCHEDULER_INTERVALS_MS = {
223 REMOVE_OLD_VIEWS: 60000 * 60 * 24, // 1 day 223 REMOVE_OLD_VIEWS: 60000 * 60 * 24, // 1 day
224 REMOVE_OLD_HISTORY: 60000 * 60 * 24, // 1 day 224 REMOVE_OLD_HISTORY: 60000 * 60 * 24, // 1 day
225 UPDATE_INBOX_STATS: 1000 * 60, // 1 minute 225 UPDATE_INBOX_STATS: 1000 * 60, // 1 minute
226 REMOVE_DANGLING_RESUMABLE_UPLOADS: 60000 * 60 * 16 // 16 hours 226 REMOVE_DANGLING_RESUMABLE_UPLOADS: 60000 * 60 // 1 hour
227} 227}
228 228
229// --------------------------------------------------------------------------- 229// ---------------------------------------------------------------------------