Skip to main content

note_manual

Function note_manual 

Source
pub fn note_manual(
    store: &CloudStore,
    record: &VaultRecord,
    result: Result<&VaultSync, &CloudError>,
)
Expand description

Record a manual lean-ctx cloud sync of record in the status, so the app shows it like a background one. Called with the vault’s sync lock: a person’s sync is never held to the shared budget, but it counts as an attempt there (the burst cap of every other sync sees it), and its result sets (or clears) the backoff every other sync keeps.