utils.h 273 B

12345678910
  1. #pragma once
  2. #include <util/datetime/base.h>
  3. namespace NRetryPrivate {
  4. TDuration AddRandomDelta(TDuration delta);
  5. TDuration AddIncrement(ui32 attempt, TDuration increment);
  6. TDuration AddExponentialMultiplier(ui32 attempt, TDuration exponentialMultiplier);
  7. }