aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.js4
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...)
22let REQUEST_RETRIES = 10 22let REQUEST_RETRIES = 10
23 23
24// Different types or requests for the request scheduler module
25const REQUEST_SCHEDULER_TYPE = [ 'add', 'remove' ]
26
24// Sortable columns per schema 27// Sortable columns per schema
25const SEARCHABLE_COLUMNS = { 28const 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,