aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrewproni <andrewproni@yandex-team.com>2023-08-31 18:46:41 +0300
committerandrewproni <andrewproni@yandex-team.com>2023-08-31 19:06:08 +0300
commitb782e49cb40192362953bccebd9f79b7d525bcc7 (patch)
treedc05feee3f386804826d9c52e04871ad7edea25b
parent07fb3c3c0211393d9d8210ba3d650c299f09e3cc (diff)
downloadydb-b782e49cb40192362953bccebd9f79b7d525bcc7.tar.gz
KIKIMR-19038: defaults for QueryServiceConfig
-rw-r--r--ydb/core/protos/config.proto10
1 files changed, 5 insertions, 5 deletions
diff --git a/ydb/core/protos/config.proto b/ydb/core/protos/config.proto
index fef6ab206a7..ec4634efd6d 100644
--- a/ydb/core/protos/config.proto
+++ b/ydb/core/protos/config.proto
@@ -1382,11 +1382,11 @@ message TTableServiceConfig {
};
message TQueryServiceConfig {
- optional uint64 ScriptOperationTimeoutDefaultSeconds = 1;
- optional uint64 ScriptForgetAfterDefaultSeconds = 2; // 0 = infinity
- optional uint64 ScriptResultsTtlDefaultSeconds = 3; // 0 = infinity
- optional uint64 ScriptResultSizeLimit = 4; // 0 = infinity
- optional uint64 ScriptResultRowsLimit = 5; // 0 = infinity
+ optional uint64 ScriptOperationTimeoutDefaultSeconds = 1 [default = 604800]; // default = 1 week
+ optional uint64 ScriptForgetAfterDefaultSeconds = 2 [default = 31536000]; // default = 1 year; 0 = infinity
+ optional uint64 ScriptResultsTtlDefaultSeconds = 3 [default = 2592000]; // default = 1 month; 0 = infinity
+ optional uint64 ScriptResultSizeLimit = 4 [default = 0]; // 0 = infinity
+ optional uint64 ScriptResultRowsLimit = 5 [default = 0]; // 0 = infinity
optional NYql.TS3GatewayConfig S3 = 6;
optional NYql.THttpGatewayConfig HttpGateway = 7;