diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index dd4eff493..76ebb8681 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -55,7 +55,7 @@ const FRIEND_SCORE = { | |||
55 | } | 55 | } |
56 | 56 | ||
57 | // Time to wait between requests to the friends (10 min) | 57 | // Time to wait between requests to the friends (10 min) |
58 | let INTERVAL = 600000 | 58 | let REQUESTS_INTERVAL = 600000 |
59 | 59 | ||
60 | const OAUTH_LIFETIME = { | 60 | const OAUTH_LIFETIME = { |
61 | ACCESS_TOKEN: 3600 * 4, // 4 hours | 61 | ACCESS_TOKEN: 3600 * 4, // 4 hours |
@@ -109,7 +109,7 @@ const USER_ROLES = { | |||
109 | // Special constants for a test instance | 109 | // Special constants for a test instance |
110 | if (isTestInstance() === true) { | 110 | if (isTestInstance() === true) { |
111 | FRIEND_SCORE.BASE = 20 | 111 | FRIEND_SCORE.BASE = 20 |
112 | INTERVAL = 10000 | 112 | REQUESTS_INTERVAL = 10000 |
113 | CONSTRAINTS_FIELDS.VIDEOS.DURATION.max = 14 | 113 | CONSTRAINTS_FIELDS.VIDEOS.DURATION.max = 14 |
114 | } | 114 | } |
115 | 115 | ||
@@ -121,7 +121,7 @@ module.exports = { | |||
121 | CONFIG: CONFIG, | 121 | CONFIG: CONFIG, |
122 | CONSTRAINTS_FIELDS: CONSTRAINTS_FIELDS, | 122 | CONSTRAINTS_FIELDS: CONSTRAINTS_FIELDS, |
123 | FRIEND_SCORE: FRIEND_SCORE, | 123 | FRIEND_SCORE: FRIEND_SCORE, |
124 | INTERVAL: INTERVAL, | 124 | REQUESTS_INTERVAL: REQUESTS_INTERVAL, |
125 | OAUTH_LIFETIME: OAUTH_LIFETIME, | 125 | OAUTH_LIFETIME: OAUTH_LIFETIME, |
126 | PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, | 126 | PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, |
127 | PODS_SCORE: PODS_SCORE, | 127 | PODS_SCORE: PODS_SCORE, |