8#include <userver/dynamic_config/snapshot.hpp>
9#include <userver/formats/json_fwd.hpp>
11USERVER_NAMESPACE_BEGIN
17 double up_rate_percent{2};
18 double down_rate_percent{5};
20 size_t overload_on{10};
21 size_t overload_off{3};
25 size_t no_limit_count{1000};
27 size_t load_limit_percent{0};
28 size_t load_limit_crit_percent{0};
30 double start_limit_factor{0.75};
40 int activate_factor{0};
42 static RpsCcConfig Parse(
const dynamic_config::DocsMap& docs_map);
45inline constexpr dynamic_config::Key<RpsCcConfig::Parse> kRpsCcConfig;