From e30a65a5561013327523a559e9720aeebf4fb89e Mon Sep 17 00:00:00 2001 From: Boldizsar Mezei Date: Thu, 25 Apr 2024 21:20:31 +0200 Subject: [PATCH] Fixes --- .../workflows/functions_emulated-tests.yml | 14 ++ .../workflows/functions_tangle-unit-tests.yml | 168 ++++++++++++++++++ packages/functions/workflow.build.js | 3 + 3 files changed, 185 insertions(+) diff --git a/.github/workflows/functions_emulated-tests.yml b/.github/workflows/functions_emulated-tests.yml index e95819776..72525f932 100644 --- a/.github/workflows/functions_emulated-tests.yml +++ b/.github/workflows/functions_emulated-tests.yml @@ -46,6 +46,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -91,6 +93,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -136,6 +140,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -181,6 +187,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -226,6 +234,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -271,6 +281,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -316,6 +328,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/functions_tangle-unit-tests.yml b/.github/workflows/functions_tangle-unit-tests.yml index a0c4e3414..819a6ce09 100644 --- a/.github/workflows/functions_tangle-unit-tests.yml +++ b/.github/workflows/functions_tangle-unit-tests.yml @@ -46,6 +46,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -87,6 +89,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -128,6 +132,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -169,6 +175,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -210,6 +218,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -251,6 +261,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -292,6 +304,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -333,6 +347,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -374,6 +390,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -415,6 +433,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -456,6 +476,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -497,6 +519,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -538,6 +562,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -579,6 +605,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -620,6 +648,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -661,6 +691,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -702,6 +734,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -743,6 +777,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -784,6 +820,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -825,6 +863,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -866,6 +906,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -907,6 +949,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -948,6 +992,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -989,6 +1035,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1030,6 +1078,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1071,6 +1121,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1112,6 +1164,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1153,6 +1207,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1194,6 +1250,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1235,6 +1293,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1276,6 +1336,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1317,6 +1379,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1358,6 +1422,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1399,6 +1465,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1440,6 +1508,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1481,6 +1551,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1522,6 +1594,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1563,6 +1637,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1604,6 +1680,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1645,6 +1723,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1686,6 +1766,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1727,6 +1809,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1768,6 +1852,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1809,6 +1895,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1850,6 +1938,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1891,6 +1981,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1932,6 +2024,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -1973,6 +2067,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2014,6 +2110,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2055,6 +2153,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2096,6 +2196,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2137,6 +2239,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2178,6 +2282,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2219,6 +2325,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2260,6 +2368,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2301,6 +2411,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2342,6 +2454,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2383,6 +2497,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2424,6 +2540,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2465,6 +2583,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2506,6 +2626,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2547,6 +2669,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2588,6 +2712,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2629,6 +2755,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2670,6 +2798,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2711,6 +2841,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2752,6 +2884,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2793,6 +2927,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2834,6 +2970,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2875,6 +3013,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2916,6 +3056,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2957,6 +3099,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -2998,6 +3142,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3039,6 +3185,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3080,6 +3228,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3121,6 +3271,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3162,6 +3314,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3203,6 +3357,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3244,6 +3400,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3285,6 +3443,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3326,6 +3486,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3365,6 +3527,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3404,6 +3568,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -3443,6 +3609,8 @@ jobs: --health-timeout 5s --health-retries 5 + --max_connections 1000 + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/packages/functions/workflow.build.js b/packages/functions/workflow.build.js index 80506944f..4e1473639 100644 --- a/packages/functions/workflow.build.js +++ b/packages/functions/workflow.build.js @@ -65,6 +65,9 @@ function job(outputFile, chunk, files) { fs.appendFileSync(outputFile, ' --health-interval 10s\n'); fs.appendFileSync(outputFile, ' --health-timeout 5s\n'); fs.appendFileSync(outputFile, ' --health-retries 5\n\n'); + fs.appendFileSync(outputFile, ' --max_connections 1000\n\n'); + + fs.appendFileSync(outputFile, ` steps:\n`);