Skip to main content

## MAX_SYNC_ATTEMPTS

# Constant MAX_SYNC_ATTEMPTS

Source

    pub const MAX_SYNC_ATTEMPTS: i32 = 5;

Expand description

How many times a row may fail before it stops being retried.

A row that can never succeed (a deleted item, an operation this build does not know how to push) must eventually leave the queue, or it re-creates the bug this module fixes: a count that only ever goes up.