mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
bump max concurrency to 20
This commit is contained in:
parent
57d2e64b58
commit
d0da85167a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user