!1387 #292 #294 updated the ui document to show execution timeout property with its d…

Merge pull request !1387 from i-robot/pull295
This commit is contained in:
i-robot 2022-02-23 21:58:53 +00:00 committed by Gitee
commit 9f1c40ca2b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 29 additions and 2 deletions

View File

@ -34,3 +34,31 @@ and statistics about the query is available by clicking the *JSON* link. These v
> - **Default value:** `false`
>
> Insecure authentication over HTTP is disabled by default. This could be overridden via "hetu.queryeditor-ui.allow-insecure-over-http" property of "etc/config.properties" (e.g. hetu.queryeditor-ui.allow-insecure-over-http=true).
### `hetu.queryeditor-ui.execution-timeout`
> - **Type:** `duration`
> - **Default value:** `1 DAYS`>
>
> UI Execution timeout is set to 1 day as default. This could be overridden via "hetu.queryeditor-ui.execution-timeout" of "etc/config.properties"
### `hetu.queryeditor-ui.max-result-count`
> - **Type:** `int`
> - **Default value:** `1000`
>
> UI max result count is set to 1000 as default. This could be overridden via "hetu.queryeditor-ui.max-result-count" of "etc/config.properties"
### `hetu.queryeditor-ui.max-result-size-mb`
>- **Type:** `size`
>- **Default value:** `1GB`
>
> UI max result size is set to 1 GB as default. This could be overridden via "hetu.queryeditor-ui.max-result-size-mb" of "etc/config.properties"
### `hetu.queryeditor-ui.session-timeout`
> - **Type:** `duration`
> - **Default value:** `1 DAYS`
>
> UI session timeout is set to 1 day as default. This could be overridden via "hetu.queryeditor-ui.session-timeout" of "etc/config.properties"

View File

@ -23,7 +23,6 @@ import javax.validation.constraints.NotNull;
import java.util.Optional;
import static java.util.concurrent.TimeUnit.DAYS;
import static java.util.concurrent.TimeUnit.MINUTES;
public class QueryEditorConfig
{
@ -36,7 +35,7 @@ public class QueryEditorConfig
private DataSize maxResultSize = new DataSize(1, DataSize.Unit.GIGABYTE);
private Optional<String> sharedSecret = Optional.empty();
private Duration sessionTimeout = new Duration(1, DAYS);
private Duration executionTimeout = new Duration(15, MINUTES);
private Duration executionTimeout = new Duration(1, DAYS);
public boolean isAllowInsecureOverHttp()
{