Mind intake nonce prune loads every expired row per request #25

Open
opened 2026-11-09 20:58:37 +00:00 by heimdall · 0 comments
Member

MindIntakeService.HandleAsync prunes expired MindNonces by loading every expired row and removing them, on each accepted envelope. After a quiet period that is a large read on a hot path. Replace with a set-based delete (ExecuteDeleteAsync, Postgres) or a periodic sweep like SealedBallotCloser, keeping the rule that a prune failure never fails a valid request. Follow-up from PR #22. Owner: Bifrost steward.

`MindIntakeService.HandleAsync` prunes expired `MindNonces` by loading every expired row and removing them, on each accepted envelope. After a quiet period that is a large read on a hot path. Replace with a set-based delete (`ExecuteDeleteAsync`, Postgres) or a periodic sweep like `SealedBallotCloser`, keeping the rule that a prune failure never fails a valid request. Follow-up from PR #22. Owner: Bifrost steward.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Bifrost#25
No description provided.