Skip to content

fix(engine): honor configured waiting queue capacity - #3

Open
dajiaohuang wants to merge 1 commit into
githubnext:mainfrom
dajiaohuang:fix/queue-capacity
Open

dajiaohuang wants to merge 1 commit into
githubnext:mainfrom
dajiaohuang:fix/queue-capacity

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Sep 23, 2026 •

Copy link
Copy Markdown

Summary

Fix the admission check so LOCALJEV_MAX_QUEUE represents waiting decisions in addition to active in-flight work. This prevents a configured queue slot from being consumed by the active request count.

Fixes #2.

Validation

  • bun test
  • bun run typecheck
  • git diff --check

The change is limited to the queue-capacity calculation and its regression coverage.

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.

Configured waiting queue capacity is smaller than LOCALJEV_MAX_QUEUE

1 participant