Skip to content

Override tokio runtimes num threads via env vars - #6987

Merged
guilload merged 1 commit into
mainfrom
guilload/override-tokio-runtimes-num-threads-via-env-vars
Nov 5, 2026
Merged

guilload merged 1 commit into
mainfrom
guilload/override-tokio-runtimes-num-threads-via-env-vars

Conversation

@guilload

@guilload guilload commented Nov 4, 2026

Copy link
Copy Markdown
Member

No description provided.

@guilload
guilload requested a review from a team as a code owner November 4, 2026 23:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T00:19:13.423258Z 5207209 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-official datadog-official Bot added area:core Server layer, CLI, config, actors, shared crates type:enhancement An improvement to something that exists, or its deprecation or removal labels Nov 4, 2026
@guilload
guilload force-pushed the guilload/override-tokio-runtimes-num-threads-via-env-vars branch 2 times, most recently from be26749 to 8e5ab75 Compare November 5, 2026 00:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53f4f9e429

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

fn test_runtimes_config_default() {
let runtime_default = RuntimesConfig::default();
fn test_runtimes_config_get() {
let runtime_default = RuntimesConfig::get();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Test the CPU-derived config without environment overrides

When either runtime override is set, this tests the environment-adjusted config as if it were the CPU-derived default. For example, QW_TOKIO_NON_BLOCKING_RUNTIME_NUM_THREADS=3 violates the next assertion, and a blocking override of 1 can violate the first. Since the overrides are supported independently, running the test suite with those settings makes this test fail.

Useful? React with 👍 / 👎.

@guilload guilload changed the title Guilload/override tokio runtimes num threads via env vars Override tokio runtimes num threads via env vars Nov 5, 2026
@guilload
guilload force-pushed the guilload/override-tokio-runtimes-num-threads-via-env-vars branch from 8e5ab75 to 5207209 Compare November 5, 2026 00:17
@guilload
guilload added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 9f674e3 Nov 5, 2026
13 checks passed
@guilload
guilload deleted the guilload/override-tokio-runtimes-num-threads-via-env-vars branch November 5, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:core Server layer, CLI, config, actors, shared crates type:enhancement An improvement to something that exists, or its deprecation or removal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants