Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(v5): merge v5 #657

Merged
merged 72 commits into from
Sep 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
2cf4b46
refactor: emit `drain` as soon as capacity is available (#367)
metcoder95 Jul 14, 2023
7b86105
refactor!: drop runTask method (#363)
metcoder95 Sep 21, 2023
b42bb14
chore(deps-dev): Bump @types/node from 20.6.0 to 20.6.2 (#406)
dependabot[bot] Sep 19, 2023
4df0ca4
fix: add signal reason support (#403)
metcoder95 Sep 20, 2023
986659a
chore(deps): Bump actions/checkout from 3 to 4 (#413)
dependabot[bot] Oct 2, 2023
bf92e5a
chore(deps-dev): Bump @types/node from 20.6.2 to 20.8.2 (#417)
dependabot[bot] Oct 2, 2023
352bc84
chore(deps-dev): Bump @types/node from 20.8.2 to 20.8.3 (#419)
dependabot[bot] Oct 15, 2023
a998a69
chore(deps): Bump @babel/traverse (#425)
dependabot[bot] Oct 20, 2023
31f7a2b
fix: do not re-create threads when calling `.destory()` (#430)
alan-agius4 Oct 20, 2023
3d67926
chore(deps-dev): Bump @types/node from 20.8.3 to 20.8.7 (#428)
dependabot[bot] Oct 23, 2023
5c2264c
fix: migrate to EventEmitterAsyncResource from core (#433)
groozin Oct 30, 2023
69cae53
chore(deps): Bump actions/setup-node from 3 to 4 (#437)
dependabot[bot] Nov 6, 2023
0cfa8d7
chore(deps-dev): Bump @types/node from 20.8.7 to 20.8.10 (#440)
dependabot[bot] Nov 6, 2023
c9e2abc
chore(deps-dev): Bump @typescript-eslint/parser from 6.9.1 to 6.10.0 …
dependabot[bot] Nov 13, 2023
ef6e205
chore(deps-dev): Bump @types/node from 20.8.10 to 20.9.0 (#443)
dependabot[bot] Nov 13, 2023
1f85c16
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.9.1 to …
dependabot[bot] Nov 15, 2023
b7895b9
chore(release): 4.2.0
metcoder95 Nov 19, 2023
cc8fca5
chore(deps-dev): Bump @types/node from 20.9.0 to 20.9.2 (#448)
dependabot[bot] Nov 20, 2023
4260e7e
chore(deps-dev): Bump @typescript-eslint/parser from 6.10.0 to 6.11.0…
dependabot[bot] Nov 20, 2023
99ae84b
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.10.0 to…
dependabot[bot] Nov 21, 2023
27cac34
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.11.0 to…
dependabot[bot] Nov 27, 2023
b6e2559
chore(deps-dev): Bump @typescript-eslint/parser from 6.11.0 to 6.12.0…
dependabot[bot] Nov 27, 2023
b08a78e
chore(deps-dev): Bump @types/node from 20.9.2 to 20.10.0 (#455)
dependabot[bot] Nov 27, 2023
be15076
chore(deps-dev): Bump typescript from 5.1.6 to 5.3.2 (#454)
dependabot[bot] Nov 27, 2023
a150938
fix: default minThreads with odd CPU count (#457)
Chocobozzz Dec 3, 2023
6ea35db
chore(deps-dev): Bump @types/node from 20.10.0 to 20.10.4 (#466)
dependabot[bot] Dec 13, 2023
41408c1
chore(deps-dev): Bump ts-node from 9.1.1 to 10.9.2 (#463)
dependabot[bot] Dec 13, 2023
682a931
chore(release): 4.2.1
metcoder95 Dec 13, 2023
d30c6b3
chore(deps-dev): Bump @typescript-eslint/parser from 6.12.0 to 6.14.0…
dependabot[bot] Dec 13, 2023
89ee83a
chore(deps-dev): Bump typescript from 5.3.2 to 5.3.3 (#464)
dependabot[bot] Dec 13, 2023
8deb653
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.12.0 to…
dependabot[bot] Dec 13, 2023
88b40d8
chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2 (#469)
dependabot[bot] Dec 13, 2023
8dadd43
chore(deps-dev): Bump @types/node from 20.10.4 to 20.10.5 (#470)
dependabot[bot] Dec 19, 2023
d84adb3
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.14.0 to…
dependabot[bot] Dec 28, 2023
c1996d4
chore(deps-dev): Bump @typescript-eslint/parser from 6.14.0 to 6.16.0…
dependabot[bot] Dec 28, 2023
cff5414
chore(deps-dev): Bump @types/node from 20.10.5 to 20.10.6 (#476)
dependabot[bot] Jan 3, 2024
ef07d02
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.15.0 to…
dependabot[bot] Jan 3, 2024
40b5e6b
chore(deps-dev): Bump @types/node from 20.10.6 to 20.10.7 (#479)
dependabot[bot] Jan 12, 2024
a3571fd
feat: use native Node.js histogram support (#482)
clydin Jan 12, 2024
e848054
chore(deps-dev): Bump @types/node from 20.11.0 to 20.11.1 (#485)
dependabot[bot] Jan 16, 2024
79d7401
chore(release): 4.3.0
metcoder95 Jan 16, 2024
aabaa5b
chore(deps-dev): Bump @typescript-eslint/parser from 6.18.1 to 6.19.0…
dependabot[bot] Jan 26, 2024
177a58d
chore: workflows: drop v16.x (#495)
RafaelGSS Jan 27, 2024
6f4ef50
fix(#491): out of bounds histogram value (#496)
metcoder95 Jan 28, 2024
c1f533d
chore(release): 4.3.1
metcoder95 Jan 30, 2024
335e406
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.18.1 to…
dependabot[bot] Jan 31, 2024
be9e83b
fix(#513): forward errors correctly to Piscina (#514)
metcoder95 Feb 16, 2024
86a5b21
chore(release): 4.3.2
metcoder95 Feb 16, 2024
e0686f6
chore(deps-dev): Bump @types/node from 20.11.1 to 20.11.19 (#516)
dependabot[bot] Feb 21, 2024
07b03eb
chore(deps): Bump actions/cache from 3 to 4 (#505)
dependabot[bot] Feb 21, 2024
01726c3
feat: add option to disable run/wait time recording (#518)
clydin Feb 21, 2024
ff8dee0
feat: allow named import usage (#517)
clydin Feb 21, 2024
683cda4
chore(release): 4.4.0
metcoder95 Feb 28, 2024
b2d7e62
chore(deps-dev): Bump @types/node from 20.11.19 to 20.11.24 (#524)
dependabot[bot] Mar 6, 2024
eb3008c
feat!: narrow TS types for histograms
metcoder95 Mar 10, 2024
2877294
chore: add v21.x to CI
metcoder95 Mar 10, 2024
b60d8ba
chore: adjust cache
metcoder95 Mar 10, 2024
4b391ac
chore: update package-lock.json
metcoder95 Mar 10, 2024
4bb872f
Merge remote-tracking branch 'origin/current' into next
metcoder95 May 29, 2024
57570c6
refactor: cleanups
metcoder95 May 29, 2024
6cbc507
fix: lint
metcoder95 May 29, 2024
7e40e2d
Merge remote-tracking branch 'origin/current' into next
metcoder95 May 31, 2024
d701046
fix: merge with current
metcoder95 May 31, 2024
144bd1c
feat!: set FixedQueue as default task queue (#578)
metcoder95 Jun 4, 2024
363b5af
docs: remove runtask references (#581)
metcoder95 Jun 12, 2024
3729907
feat!: drop v16 (#582)
metcoder95 Jun 12, 2024
c5946d1
Merge remote-tracking branch 'origin/current' into next
metcoder95 Jul 21, 2024
267bde4
Merge remote-tracking branch 'origin/current' into next
metcoder95 Sep 15, 2024
53e41f4
chore: reconcile lockfile
metcoder95 Sep 15, 2024
bbb684d
docs: update README
metcoder95 Sep 15, 2024
a828c8d
Merge remote-tracking branch 'origin/current' into next
metcoder95 Sep 18, 2024
a8447c0
fix: bad merge
metcoder95 Sep 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: default minThreads with odd CPU count (#457)
  • Loading branch information
Chocobozzz authored and metcoder95 committed Mar 10, 2024
commit a15093887998edb874b84de7504da111b67320b6
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ interface FilledOptions extends Options {
const kDefaultOptions : FilledOptions = {
filename: null,
name: 'default',
minThreads: Math.max(cpuCount / 2, 1),
minThreads: Math.max(Math.floor(cpuCount / 2), 1),
maxThreads: cpuCount * 1.5,
idleTimeout: 0,
maxQueue: Infinity,
Expand Down