Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ type User struct {
MaxConcurrentQueries uint32 `yaml:"max_concurrent_queries,omitempty"`

// Maximum duration of query execution for user
// if omitted or zero - no limits would be applied
// if omitted or zero - limit is set to 30 seconds
MaxExecutionTime Duration `yaml:"max_execution_time,omitempty"`

// Maximum number of requests per minute for user
Expand Down Expand Up @@ -720,7 +720,7 @@ type ClusterUser struct {
MaxConcurrentQueries uint32 `yaml:"max_concurrent_queries,omitempty"`

// Maximum duration of query execution for user
// if omitted or zero - no limits would be applied
// if omitted or zero - limit is set to 30 seconds
MaxExecutionTime Duration `yaml:"max_execution_time,omitempty"`

// Maximum number of requests per minute for user
Expand Down
2 changes: 1 addition & 1 deletion config/testdata/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ users:
# The maximum query duration for the user.
# Timed out queries are forcibly killed via `KILL QUERY`.
#
# By default there is no limit on the query duration.
# By default set to 30s.
max_execution_time: 1m

# Whether to deny input requests over HTTPS.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/cn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ users:
# The maximum query duration for the user.
# Timed out queries are forcibly killed via `KILL QUERY`.
#
# By default there is no limit on the query duration.
# By default set to 30s.
max_execution_time: 1m

# Whether to deny input requests over HTTPS.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/configuration/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ users:
# The maximum query duration for the user.
# Timed out queries are forcibly killed via `KILL QUERY`.
#
# By default there is no limit on the query duration.
# By default set to 30s.
max_execution_time: 1m

# Whether to deny input requests over HTTPS.
Expand Down