bump max concurrency to 20

This commit is contained in:
woodser 2024-04-27 10:33:46 -04:00
parent 57d2e64b58
commit d0da85167a

View File

@ -483,6 +483,14 @@ const HAVENO_WALLETS: Map<HavenoClient, any> = new Map<HavenoClient, any>();
// other config
const OFFLINE_ERR_MSG = "Http response at 400 or 500 level";
function getMaxConcurrency() {
return isGitHubActions() ? 4 : 20;
}
function isGitHubActions() {
return process.env.GITHUB_ACTIONS === 'true';
}
// -------------------------- BEFORE / AFTER TESTS ----------------------------
jest.setTimeout(TestConfig.testTimeout);
@ -3887,14 +3895,6 @@ function testMoneroNodeSettingsEqual(settingsBefore: XmrNodeSettings, settingsAf
expect(settingsAfter.getStartupFlagsList()).toEqual(settingsBefore.getStartupFlagsList());
}
function getMaxConcurrency() {
return isGitHubActions() ? 4 : 14;
}
function isGitHubActions() {
return process.env.GITHUB_ACTIONS === 'true';
}
function getFormField(form: PaymentAccountForm, fieldId: PaymentAccountFormField.FieldId): PaymentAccountFormField {
for (const field of form.getFieldsList()) {
if (field.getId() == fieldId) return field;