Skip to content

fix(web): serve requests concurrently - #149

Open
teddyli18000 wants to merge 1 commit into
Lampese:mainfrom
teddyli18000:fix/web-worker-pool-146
Open

fix(web): serve requests concurrently#149
teddyli18000 wants to merge 1 commit into
Lampese:mainfrom
teddyli18000:fix/web-worker-pool-146

Conversation

@teddyli18000

Copy link
Copy Markdown

Summary

  • replace the single-threaded codex-web request loop with a fixed 8-worker pool
  • share the HTTP server and Tokio runtime across workers without changing request handling behavior
  • add a regression test proving a blocked request does not prevent another request from being served

Validation

  • rustfmt --edition 2021 --check src-tauri/src/web.rs
  • cargo test --manifest-path src-tauri/Cargo.toml — 45 passed, 0 failed
  • pnpm build

Fixes #146

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.

codex-web serves requests on a single thread: one blocking command hangs the whole dashboard

1 participant