Skip to content

feat(capture): parallelize mutli-sink flush in graceful shutdown drain step#60173

Merged
eli-r-ph merged 1 commit into
masterfrom
eli.r/capture-legacy-v1-async-flush
May 26, 2026
Merged

feat(capture): parallelize mutli-sink flush in graceful shutdown drain step#60173
eli-r-ph merged 1 commit into
masterfrom
eli.r/capture-legacy-v1-async-flush

Conversation

@eli-r-ph
Copy link
Copy Markdown
Contributor

Problem

Requested in prior PR review: instead of parallelizing only the v1 multi-sink flush() during graceful shutdown, let's wrap the legacy flush call as well and fan them all out.

Changes

As stated above. Tiny change

How did you test this code?

Locally and in CI (new tests not required for this)

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Publish to changelog?

N/A

Docs update

N/A

🤖 Agent context

Eli planned, Claude coded, Eli reviewed

@eli-r-ph eli-r-ph self-assigned this May 26, 2026
@eli-r-ph eli-r-ph requested a review from a team May 26, 2026 22:39
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 26, 2026

Reviews (1): Last reviewed commit: "add fanout for legacy + v1 event flush i..." | Re-trigger Greptile

@eli-r-ph eli-r-ph merged commit 2479e15 into master May 26, 2026
165 checks passed
@eli-r-ph eli-r-ph deleted the eli.r/capture-legacy-v1-async-flush branch May 26, 2026 23:04
@deployment-status-posthog
Copy link
Copy Markdown

deployment-status-posthog Bot commented May 26, 2026

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-05-26 23:52 UTC Run
prod-us ✅ Deployed 2026-05-27 00:02 UTC Run
prod-eu ✅ Deployed 2026-05-27 00:04 UTC Run

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