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:
f58094b
)
Increase refresh interval to 2 days
author
Chocobozzz
<me@florianbigard.com>
Tue, 19 Mar 2019 10:15:42 +0000
(11:15 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 19 Mar 2019 10:15:42 +0000
(11:15 +0100)
server/initializers/constants.ts
patch
|
blob
|
history
diff --git
a/server/initializers/constants.ts
b/server/initializers/constants.ts
index 169a98ceb0ed38bb3d73729e5931ab4ec47e8de3..19e63d6fe5942f865709b09b60da74080a31d1f3 100644
(file)
--- a/
server/initializers/constants.ts
+++ b/
server/initializers/constants.ts
@@
-583,8
+583,8
@@
const ACTIVITY_PUB = {
MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ]
},
MAX_RECURSION_COMMENTS: 100,
- ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000
, // 1 day
- VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000
// 1 day
+ ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000
* 2, // 2 days
+ VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000
* 2 // 2 days
}
const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {