diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index bb141456a..48e660fe2 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -9,6 +9,9 @@ let FRIEND_BASE_SCORE = 100 | |||
9 | // Time to wait between requests to the friends | 9 | // Time to wait between requests to the friends |
10 | let INTERVAL = 60000 | 10 | let INTERVAL = 60000 |
11 | 11 | ||
12 | // Number of results by default for the pagination | ||
13 | const PAGINATION_COUNT_DEFAULT = 15 | ||
14 | |||
12 | // Number of points we add/remove from a friend after a successful/bad request | 15 | // Number of points we add/remove from a friend after a successful/bad request |
13 | const PODS_SCORE = { | 16 | const PODS_SCORE = { |
14 | MALUS: -10, | 17 | MALUS: -10, |
@@ -37,6 +40,7 @@ module.exports = { | |||
37 | API_VERSION: API_VERSION, | 40 | API_VERSION: API_VERSION, |
38 | FRIEND_BASE_SCORE: FRIEND_BASE_SCORE, | 41 | FRIEND_BASE_SCORE: FRIEND_BASE_SCORE, |
39 | INTERVAL: INTERVAL, | 42 | INTERVAL: INTERVAL, |
43 | PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, | ||
40 | PODS_SCORE: PODS_SCORE, | 44 | PODS_SCORE: PODS_SCORE, |
41 | REQUEST_RETRIES: REQUEST_RETRIES, | 45 | REQUEST_RETRIES: REQUEST_RETRIES, |
42 | THUMBNAILS_SIZE: THUMBNAILS_SIZE, | 46 | THUMBNAILS_SIZE: THUMBNAILS_SIZE, |