Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Oct 24, 2025

The hardest bugs are always one liners....

@mkysel mkysel requested a review from a team as a code owner October 24, 2025 16:22
@graphite-app
Copy link

graphite-app bot commented Oct 24, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • Queue - adds this PR to the back of the merge queue
  • Hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@macroscopeapp
Copy link

macroscopeapp bot commented Oct 24, 2025

Pass a RowLimit equal to numRows to queries.SelectGatewayEnvelopes in pkg/api/message/subscribe_worker.go to limit fetched envelopes per call

Update startSubscribeWorker to include RowLimit: numRows when calling queries.SelectGatewayEnvelopes and expand the error log to include lastSeen. Changes are in subscribe_worker.go.

📍Where to Start

Start with the startSubscribeWorker function and its pollableQuery closure in subscribe_worker.go.


📊 Macroscope summarized 18db8df. 1 file reviewed, 1 issue evaluated, 1 issue filtered, 0 comments posted. View details

@mkysel mkysel merged commit a060743 into main Oct 24, 2025
11 checks passed
@mkysel mkysel deleted the mkysel/ffs branch October 24, 2025 16:42
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.

3 participants