Skip to content

Commit

Permalink
bump max concurrency to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Apr 30, 2024
1 parent 57d2e64 commit d0da851
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/HavenoClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d0da851

Please sign in to comment.