Skip to main content

due

Function due 

Source
pub fn due(scope: &Scope, state: &SyncState, now: DateTime<Utc>) -> bool
Expand description

The schedule, as a decision about one state at one moment.

Separated from the database on purpose: this is the whole of the policy — how often a healthy scope is re-asked, how long a failing one waits — and it is decided by elapsed time, which a test can state and cannot wait for.