v3: prevent envs with excess queues from degrading dequeue performance#1982
v3: prevent envs with excess queues from degrading dequeue performance#1982
Conversation
|
WalkthroughA new environment variable, Changes
Sequence Diagram(s)sequenceDiagram
participant Env as Environment
participant MarQS as FairDequeuingStrategy
participant Test as Test Suite
Env->>MarQS: Provide MARQS_MAXIMUM_QUEUE_PER_ENV_COUNT
MarQS->>MarQS: Limit queues per environment to maximum
MarQS->>Test: Return selected queues per environment
Test->>Test: Assert queue counts and distribution
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Graph Analysis (2)apps/webapp/app/v3/marqs/index.server.ts (1)
apps/webapp/test/fairDequeuingStrategy.test.ts (4)
⏰ Context from checks skipped due to timeout of 90000ms (7)
🔇 Additional comments (10)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit