aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index a6adb75bf..97e3c5296 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -108,8 +108,10 @@ let REQUESTS_INTERVAL = 600000
108// Number of requests in parallel we can make 108// Number of requests in parallel we can make
109const REQUESTS_IN_PARALLEL = 10 109const REQUESTS_IN_PARALLEL = 10
110 110
111// How many requests we put in request 111// To how many pods we send requests
112const REQUESTS_LIMIT = 10 112const REQUESTS_LIMIT_PODS = 10
113// How many requests we send to a pod per interval
114const REQUESTS_LIMIT_PER_POD = 5
113 115
114// Number of requests to retry for replay requests module 116// Number of requests to retry for replay requests module
115const RETRY_REQUESTS = 5 117const RETRY_REQUESTS = 5
@@ -184,7 +186,8 @@ module.exports = {
184 REQUEST_ENDPOINTS, 186 REQUEST_ENDPOINTS,
185 REQUESTS_IN_PARALLEL, 187 REQUESTS_IN_PARALLEL,
186 REQUESTS_INTERVAL, 188 REQUESTS_INTERVAL,
187 REQUESTS_LIMIT, 189 REQUESTS_LIMIT_PODS,
190 REQUESTS_LIMIT_PER_POD,
188 RETRY_REQUESTS, 191 RETRY_REQUESTS,
189 SEARCHABLE_COLUMNS, 192 SEARCHABLE_COLUMNS,
190 SIGNATURE_ALGORITHM, 193 SIGNATURE_ALGORITHM,