aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tvmauth/client/misc/retry_settings/v1/settings.proto
blob: 72817847a647e171f1b130d16449dfa188f0747e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax = "proto2";

package retry_settings.v1;

option cc_enable_arenas = true;
option go_package = "a.yandex-team.ru/library/cpp/tvmauth/client/misc/retry_settings/v1";

message Settings {
    optional uint32 exponential_backoff_min_sec = 1;
    optional uint32 exponential_backoff_max_sec = 2;
    optional double exponential_backoff_factor = 3;
    optional double exponential_backoff_jitter = 4;
    optional uint32 max_random_sleep_default = 5;
    optional uint32 max_random_sleep_when_ok = 12;
    optional uint32 retries_on_start = 6;
    optional uint32 worker_awaking_period_sec = 7;
    optional uint32 dsts_limit = 8;
    optional uint32 retries_in_background = 9;
    optional uint32 roles_update_period_sec = 10;
    optional uint32 roles_warn_period_sec = 11;
}