Skip to content

cre-5665: durable emitter regression fix and test - #2284

Merged
mchain0 merged 4 commits into
mainfrom
cre-5665-v2
Jul 27, 2026
Merged

cre-5665: durable emitter regression fix and test#2284
mchain0 merged 4 commits into
mainfrom
cre-5665-v2

Conversation

@mchain0

@mchain0 mchain0 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

ref. #2283

this PR contains a fix and regression test guarding emitter performance (for full details read investigation in #2283 )

Makes durableemitter.GlobalEmit() non-blocking. Queues the event and return immediately without waiting for the INSERT to complete.

Before fix: enabled path = 534ms (4113x slower). After fix: enabled path = 2µs (non-blocking).

cre-5665

@mchain0
mchain0 requested a review from DylanTinianov July 27, 2026 10:29
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-common

View full report

@mchain0
mchain0 requested a review from cedric-cordenier July 27, 2026 10:30
@mchain0
mchain0 marked this pull request as ready for review July 27, 2026 10:30
@mchain0
mchain0 requested a review from a team as a code owner July 27, 2026 10:30
agparadiso
agparadiso previously approved these changes Jul 27, 2026
@mchain0
mchain0 added this pull request to the merge queue Jul 27, 2026
Merged via the queue into main with commit 1835ac7 Jul 27, 2026
27 of 31 checks passed
@mchain0
mchain0 deleted the cre-5665-v2 branch July 27, 2026 14:28
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