Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -86,7 +86,7 @@ async function initialization() {
|
|
| 86 |
return;
|
| 87 |
}
|
| 88 |
const ssoArray = process.env.SSO.split(',');
|
| 89 |
-
const concurrencyLimit =
|
| 90 |
for (let i = 0; i < ssoArray.length; i += concurrencyLimit) {
|
| 91 |
const batch = ssoArray.slice(i, i + concurrencyLimit);
|
| 92 |
const batchPromises = batch.map(sso =>
|
|
|
|
| 86 |
return;
|
| 87 |
}
|
| 88 |
const ssoArray = process.env.SSO.split(',');
|
| 89 |
+
const concurrencyLimit = 4;
|
| 90 |
for (let i = 0; i < ssoArray.length; i += concurrencyLimit) {
|
| 91 |
const batch = ssoArray.slice(i, i + concurrencyLimit);
|
| 92 |
const batchPromises = batch.map(sso =>
|