Skip to main content

is_retryable_sqlite_busy

Function is_retryable_sqlite_busy 

Source
pub fn is_retryable_sqlite_busy(err: &Error) -> bool
Expand description

Return true when the sqlx error is a transient busy-contention fault that is safe to retry. Mirrors the shape of PG’s is_retryable_serialization classifier.

Wave-9 SERIALIZABLE ops wrap the classifier via crate::retry::retry_serializable.