diff options
author | aozeritsky <aozeritsky@yandex-team.ru> | 2022-03-25 01:14:40 +0300 |
---|---|---|
committer | aozeritsky <aozeritsky@yandex-team.ru> | 2022-03-25 01:14:40 +0300 |
commit | 86f93d737e9db0e8bfdb6d6a291b6dbdab9d1bdb (patch) | |
tree | 65fb4cb00a55627483251b99089661c8ab1c42fb | |
parent | 19152869aaa383d82950ce6136494bb3c89b95f0 (diff) | |
download | ydb-86f93d737e9db0e8bfdb6d6a291b6dbdab9d1bdb.tar.gz |
YQL-14525: Add limiter
ref:053298959e1a8fa281ea8f6c028d141872b373ed
-rw-r--r-- | ydb/library/yql/providers/dq/config/config.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ydb/library/yql/providers/dq/config/config.proto b/ydb/library/yql/providers/dq/config/config.proto index 1cae395e7e..c029a5d843 100644 --- a/ydb/library/yql/providers/dq/config/config.proto +++ b/ydb/library/yql/providers/dq/config/config.proto @@ -122,6 +122,9 @@ message TDqConfig { optional uint32 HistoryKeepingTime = 2 [default = 60]; // in minutes optional uint32 MaxOperations = 3 [default = 1000]; optional uint32 MaxOperationsPerUser = 4 [default = 100]; + optional bool LimitTasksPerWindow = 5 [default = false]; + optional uint32 LimiterNumerator = 6 [default = 1]; + optional uint32 LimiterDenumerator = 7 [default = 2]; } optional TScheduler Scheduler = 10; |