pub fn delay(&mut self) -> Duration {
        let delay = self.current_delay;
        self.current_delay = self
            .current_delay
            .mul(Self::DELAY_MULTIPLIER)
            .min(self.max_delay);
        delay
    }
Get current delay, handling future delays if needed
prover/crates/lib/prover_job_processor/src/backoff_and_cancellable.rs