aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-08 11:59:42 +0100
committerChocobozzz <me@florianbigard.com>2021-01-08 11:59:42 +0100
commit66dbfa1f30c361f88cfc6c3af3fd4b0ee55e2d26 (patch)
tree78c3d8513a57a77d6c93d5da7a862401b2ab7748 /server/initializers/constants.ts
parent14d3bb9c532b0059f76e1951fc8ae8da2fd4f2d2 (diff)
downloadPeerTube-66dbfa1f30c361f88cfc6c3af3fd4b0ee55e2d26.tar.gz
PeerTube-66dbfa1f30c361f88cfc6c3af3fd4b0ee55e2d26.tar.zst
PeerTube-66dbfa1f30c361f88cfc6c3af3fd4b0ee55e2d26.zip
Reduce inbox stats updated interval
Diffstat (limited to 'server/initializers/constants.ts')
-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 01860b575..0e4ee4a0a 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -195,7 +195,7 @@ const SCHEDULER_INTERVALS_MS = {
195 autoFollowIndexInstances: 60000 * 60 * 24, // 1 day 195 autoFollowIndexInstances: 60000 * 60 * 24, // 1 day
196 removeOldViews: 60000 * 60 * 24, // 1 day 196 removeOldViews: 60000 * 60 * 24, // 1 day
197 removeOldHistory: 60000 * 60 * 24, // 1 day 197 removeOldHistory: 60000 * 60 * 24, // 1 day
198 updateInboxStats: 1000 * 60 * 5 // 5 minutes 198 updateInboxStats: 1000 * 60// 1 minute
199} 199}
200 200
201// --------------------------------------------------------------------------- 201// ---------------------------------------------------------------------------