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 c6a6ac966..6fa322010 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -21,6 +21,9 @@ const PODS_SCORE = { | |||
21 | // Number of retries we make for the make retry requests (to friends...) | 21 | // Number of retries we make for the make retry requests (to friends...) |
22 | let REQUEST_RETRIES = 10 | 22 | let REQUEST_RETRIES = 10 |
23 | 23 | ||
24 | // Different types or requests for the request scheduler module | ||
25 | const REQUEST_SCHEDULER_TYPE = [ 'add', 'remove' ] | ||
26 | |||
24 | // Sortable columns per schema | 27 | // Sortable columns per schema |
25 | const SEARCHABLE_COLUMNS = { | 28 | const SEARCHABLE_COLUMNS = { |
26 | VIDEOS: [ 'name', 'magnetUri', 'podUrl', 'author', 'tags' ] | 29 | VIDEOS: [ 'name', 'magnetUri', 'podUrl', 'author', 'tags' ] |
@@ -65,6 +68,7 @@ module.exports = { | |||
65 | PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, | 68 | PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, |
66 | PODS_SCORE: PODS_SCORE, | 69 | PODS_SCORE: PODS_SCORE, |
67 | REQUEST_RETRIES: REQUEST_RETRIES, | 70 | REQUEST_RETRIES: REQUEST_RETRIES, |
71 | REQUEST_SCHEDULER_TYPE: REQUEST_SCHEDULER_TYPE, | ||
68 | SEARCHABLE_COLUMNS: SEARCHABLE_COLUMNS, | 72 | SEARCHABLE_COLUMNS: SEARCHABLE_COLUMNS, |
69 | SORTABLE_COLUMNS: SORTABLE_COLUMNS, | 73 | SORTABLE_COLUMNS: SORTABLE_COLUMNS, |
70 | THUMBNAILS_SIZE: THUMBNAILS_SIZE, | 74 | THUMBNAILS_SIZE: THUMBNAILS_SIZE, |