mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-13 08:45:59 -04:00
bump max concurrency to 20
This commit is contained in:
parent
57d2e64b58
commit
d0da85167a
1 changed files with 8 additions and 8 deletions
|
@ -483,6 +483,14 @@ const HAVENO_WALLETS: Map<HavenoClient, any> = new Map<HavenoClient, any>();
|
||||||
// other config
|
// other config
|
||||||
const OFFLINE_ERR_MSG = "Http response at 400 or 500 level";
|
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 ----------------------------
|
// -------------------------- BEFORE / AFTER TESTS ----------------------------
|
||||||
|
|
||||||
jest.setTimeout(TestConfig.testTimeout);
|
jest.setTimeout(TestConfig.testTimeout);
|
||||||
|
@ -3887,14 +3895,6 @@ function testMoneroNodeSettingsEqual(settingsBefore: XmrNodeSettings, settingsAf
|
||||||
expect(settingsAfter.getStartupFlagsList()).toEqual(settingsBefore.getStartupFlagsList());
|
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 {
|
function getFormField(form: PaymentAccountForm, fieldId: PaymentAccountFormField.FieldId): PaymentAccountFormField {
|
||||||
for (const field of form.getFieldsList()) {
|
for (const field of form.getFieldsList()) {
|
||||||
if (field.getId() == fieldId) return field;
|
if (field.getId() == fieldId) return field;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue