Skip to content

Commit

Permalink
Fix cd
Browse files Browse the repository at this point in the history
  • Loading branch information
ilijaNL committed Jul 22, 2024
1 parent 6552605 commit 5824ef8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-node@v4
id: setup-node
with:
node-version: 20.x
# See https://github.com/actions/setup-node/issues/641#issuecomment-1358859686
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8
# See https://github.com/actions/setup-node/issues/641#issuecomment-1358859686
- name: pnpm cache path
id: pnpm-cache-path
run: |
Expand Down
6 changes: 3 additions & 3 deletions src/task-worker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('task-worker', () => {
}
},
},
{ maxConcurrency: amountOfTasks, poolInternvalInMs: 20, refillThresholdPct: 0.33 }
{ maxConcurrency: amountOfTasks, poolInternvalInMs: 80, refillThresholdPct: 0.33 }
);

worker.start();
Expand Down Expand Up @@ -221,7 +221,7 @@ describe('task-worker', () => {
await setTimeout(200);
},
},
{ maxConcurrency: amountOfTasks, poolInternvalInMs: 20, refillThresholdPct: 0.33 }
{ maxConcurrency: amountOfTasks, poolInternvalInMs: 100, refillThresholdPct: 0.33 }
);

worker.start();
Expand Down Expand Up @@ -270,7 +270,7 @@ describe('task-worker', () => {
};
},
},
{ maxConcurrency: amountOfTasks, poolInternvalInMs: 60, refillThresholdPct: 0.33 }
{ maxConcurrency: amountOfTasks, poolInternvalInMs: 100, refillThresholdPct: 0.33 }
);

const promise = once(ee, 'completed');
Expand Down

0 comments on commit 5824ef8

Please sign in to comment.