aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/retry/utils.h
blob: a8fd3d1a898897b83f38316265aedd7442b1c9c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <util/datetime/base.h>

namespace NRetryPrivate {
    TDuration AddRandomDelta(TDuration delta);
    TDuration AddIncrement(ui32 attempt, TDuration increment);
    TDuration AddExponentialMultiplier(ui32 attempt, TDuration exponentialMultiplier);

}