Skip to main content

Module retrieval_failure_logger

Module retrieval_failure_logger 

Source
Expand description

Async fire-and-forget logger for memory retrieval failure events.

RetrievalFailureLogger owns a bounded mpsc sender. Callers invoke RetrievalFailureLogger::log on the hot path without blocking. A background task coalesces records into batches and flushes them to SQLite.

Structsยง

RetrievalFailureLogger
Async background writer that batches retrieval failure records to SQLite.