Skip to content

fix: use LogMaxConcurrency for logmq consumer worker#879

Merged
alexluong merged 1 commit intomainfrom
fix/logmq-concurrency-config
Apr 27, 2026
Merged

fix: use LogMaxConcurrency for logmq consumer worker#879
alexluong merged 1 commit intomainfrom
fix/logmq-concurrency-config

Conversation

@alexluong
Copy link
Copy Markdown
Collaborator

Summary

  • Fix bug where logmq consumer worker used DeliveryMaxConcurrency instead of LogMaxConcurrency in builder.go
  • This caused LOG_MAX_CONCURRENCY env var to be entirely ignored, capping Pub/Sub unacked messages at the delivery concurrency limit

Test plan

  • Verify LOG_MAX_CONCURRENCY is respected by the logmq consumer subscription
  • Confirm delivery concurrency is unaffected

🤖 Generated with Claude Code

The logmq consumer was incorrectly using DeliveryMaxConcurrency instead
of LogMaxConcurrency, causing LOG_MAX_CONCURRENCY to be ignored and
Pub/Sub to cap unacked messages at the delivery limit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alexluong alexluong merged commit 8d76e8b into main Apr 27, 2026
2 checks passed
@alexluong alexluong deleted the fix/logmq-concurrency-config branch April 27, 2026 08:57
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.

2 participants