diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.js | 9 |
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 |
109 | const REQUESTS_IN_PARALLEL = 10 | 109 | const REQUESTS_IN_PARALLEL = 10 |
110 | 110 | ||
111 | // How many requests we put in request | 111 | // To how many pods we send requests |
112 | const REQUESTS_LIMIT = 10 | 112 | const REQUESTS_LIMIT_PODS = 10 |
113 | // How many requests we send to a pod per interval | ||
114 | const 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 |
115 | const RETRY_REQUESTS = 5 | 117 | const 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, |