diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-05 12:43:15 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-05 12:43:15 +0200 |
commit | 8483b2216454afdb88f6aa53cad5eecd8c394bc0 (patch) | |
tree | dd7aa305520c582f63ddab9ed29e83e3ba070367 /server | |
parent | 3ad109e44916e82709ac0016f1f9c31c860299c9 (diff) | |
download | PeerTube-8483b2216454afdb88f6aa53cad5eecd8c394bc0.tar.gz PeerTube-8483b2216454afdb88f6aa53cad5eecd8c394bc0.tar.zst PeerTube-8483b2216454afdb88f6aa53cad5eecd8c394bc0.zip |
Increase the interval for the friends requests
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index c190ab506..63ac863c1 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -6,8 +6,8 @@ const API_VERSION = 'v1' | |||
6 | // Score a pod has when we create it as a friend | 6 | // Score a pod has when we create it as a friend |
7 | let FRIEND_BASE_SCORE = 100 | 7 | let FRIEND_BASE_SCORE = 100 |
8 | 8 | ||
9 | // Time to wait between requests to the friends | 9 | // Time to wait between requests to the friends (10 min) |
10 | let INTERVAL = 60000 | 10 | let INTERVAL = 600000 |
11 | 11 | ||
12 | // Max length of the author username | 12 | // Max length of the author username |
13 | const MAXIMUM_AUTHOR_LENGTH = 20 | 13 | const MAXIMUM_AUTHOR_LENGTH = 20 |