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

Fixes #14398 #14401

Merged
merged 2 commits into from
Oct 12, 2024
Merged

Fixes #14398 #14401

merged 2 commits into from
Oct 12, 2024

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Fixes #14398

more threads

How did you verify your code works?

@robobun
Copy link

robobun commented Oct 8, 2024

@Jarred-Sumner, your commit a8e8655 has 7 failures in #4701:

  • test/js/web/fetch/fetch-tcp-stress.test.ts - timeout on 🍎 13 x64
  • test/js/web/fetch/fetch-tcp-stress.test.ts - 4 failing on 🍎 14 x64
  • test/integration/next-pages/test/dev-server-ssr-100.test.ts - timeout on 🪟 x64-baseline
  • test/js/web/streams/streams.test.js - 1 failing on 🍎 13 aarch64
  • test/js/web/streams/streams.test.js - 1 failing on 🍎 14 x64
  • test/js/bun/http/fetch-file-upload.test.ts - 1 failing on 🪟 x64
  • test/js/bun/http/fetch-file-upload.test.ts - 1 failing on 🪟 x64-baseline
  • test/cli/watch/watch.test.ts - 2 failing on 🪟 x64
  • test/cli/watch/watch.test.ts - 2 failing on 🪟 x64-baseline
  • test/cli/hot/watch.test.ts - 1 failing on 🪟 x64-baseline
  • test/cli/hot/watch.test.ts - 1 failing on 🪟 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🍎 13 aarch64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🪟 x64-baseline
  • test/bundler/bun-build-api.test.ts - 3 failing on 🪟 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🍎 13 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🍎 14 aarch64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 22.04 aarch64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 12 aarch64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 20.04 aarch64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🍎 14 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 22.04 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 20.04 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 12 x64
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 22.04 x64-baseline
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 12 x64-baseline
  • test/bundler/bun-build-api.test.ts - 3 failing on 🐧 20.04 x64-baseline
  • @Jarred-Sumner Jarred-Sumner requested review from a team and dylan-conway and removed request for a team October 11, 2024 02:20
    inline for (.{ "UV_THREADPOOL_SIZE", "GOMAXPROCS" }) |envname| {
    if (getenvZ(envname)) |env| {
    if (std.fmt.parseInt(u16, env, 10) catch null) |parsed| {
    if (parsed >= min_threads) {
    Copy link
    Collaborator

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    GOMAXPROCS=1 is a thing right? Should min_threads be 1 instead of 2?

    Copy link
    Collaborator Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    it should be 2

    Copy link
    Collaborator Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    sometimes we depend on threads to exist

    @Jarred-Sumner Jarred-Sumner merged commit 4c26a25 into main Oct 12, 2024
    17 of 18 checks passed
    @Jarred-Sumner Jarred-Sumner deleted the jarred/fixes-14398 branch October 12, 2024 04:18
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    Add support of the UV_THREADPOOL_SIZE
    3 participants