Struct aleph_bft::rmc::DoublingDelayScheduler [−][src]
pub struct DoublingDelayScheduler<T> { /* fields omitted */ }
Expand description
A basic task scheduler scheduling tasks with an exponential slowdown
A scheduler parameterized by a duration initial_delay
. When a task is added to the scheduler
it is first scheduled immediately, then it is scheduled indefinitely, where the first delay is
initial_delay
, and each following delay for that task is two times longer than the previous
one.