projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf34e2
)
Decrease AP video cache
author
Chocobozzz
<me@florianbigard.com>
Fri, 11 May 2018 08:25:58 +0000
(10:25 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 11 May 2018 13:25:51 +0000
(15:25 +0200)
server/initializers/constants.ts
patch
|
blob
|
history
diff --git
a/server/initializers/constants.ts
b/server/initializers/constants.ts
index cfa0203d231adcdc1b25d6d52014f47e8c3c48f6..6c9b780682b9334352a3b1b14ccc47d3fda2144a 100644
(file)
--- a/
server/initializers/constants.ts
+++ b/
server/initializers/constants.ts
@@
-45,7
+45,7
@@
const OAUTH_LIFETIME = {
const ROUTE_CACHE_LIFETIME = {
FEEDS: 1000 * 60 * 15, // 15 minutes
ACTIVITY_PUB: {
- VIDEOS: 1000
* 5 // 5 seconds
+ VIDEOS: 1000
// 1 second, cache concurrent requests after a broadcast for example
}
}