Skip to content

lmdb: move negentropy_items query to spawn_blocking - #1452

Merged
yukibtc merged 1 commit into
nostrdevkit:masterfrom
TheAwiteb:negentropy_items-interact
Aug 19, 2026
Merged

lmdb: move negentropy_items query to spawn_blocking#1452
yukibtc merged 1 commit into
nostrdevkit:masterfrom
TheAwiteb:negentropy_items-interact

Conversation

@TheAwiteb

Copy link
Copy Markdown
Member

Run negentropy_items through the interact path so slow LMDB queries don't block the async executor, matching query, count, and the other read methods.

Checklist

  • I followed the contribution guidelines
  • I updated the relevant CHANGELOG.md (if applicable)
  • I understand and can explain all code in this PR

Run `negentropy_items` through the `interact` path so slow LMDB queries
don't block the async executor, matching `query`, `count`, and the other
read methods.

Signed-off-by: Awiteb <a@4rs.nl>
@TheAwiteb
TheAwiteb requested a review from yukibtc as a code owner August 18, 2026 22:41
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yukibtc yukibtc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK a42c795

@yukibtc
yukibtc merged commit a42c795 into nostrdevkit:master Aug 19, 2026
43 checks passed
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