aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.js')
-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 55c555d04..32fe1645f 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -24,6 +24,9 @@ const PODS_SCORE = {
24// Number of requests in parallel we can make 24// Number of requests in parallel we can make
25const REQUESTS_IN_PARALLEL = 10 25const REQUESTS_IN_PARALLEL = 10
26 26
27// How many requests we put in request (request scheduler)
28const REQUESTS_LIMIT = 10
29
27// Number of requests to retry for replay requests module 30// Number of requests to retry for replay requests module
28const RETRY_REQUESTS = 5 31const RETRY_REQUESTS = 5
29 32
@@ -71,6 +74,7 @@ module.exports = {
71 PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, 74 PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT,
72 PODS_SCORE: PODS_SCORE, 75 PODS_SCORE: PODS_SCORE,
73 REQUESTS_IN_PARALLEL: REQUESTS_IN_PARALLEL, 76 REQUESTS_IN_PARALLEL: REQUESTS_IN_PARALLEL,
77 REQUESTS_LIMIT: REQUESTS_LIMIT,
74 RETRY_REQUESTS: RETRY_REQUESTS, 78 RETRY_REQUESTS: RETRY_REQUESTS,
75 SEARCHABLE_COLUMNS: SEARCHABLE_COLUMNS, 79 SEARCHABLE_COLUMNS: SEARCHABLE_COLUMNS,
76 SORTABLE_COLUMNS: SORTABLE_COLUMNS, 80 SORTABLE_COLUMNS: SORTABLE_COLUMNS,