Skip to content

Commit

Permalink
!1387 #292 #294 updated the ui document to show execution timeout pro…
Browse files Browse the repository at this point in the history
…perty with its d…

Merge pull request !1387 from i-robot/pull295
  • Loading branch information
it-is-a-robot authored and gitee-org committed Feb 23, 2022
2 parents 76b90b6 + 87bdb97 commit 9f1c40c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
28 changes: 28 additions & 0 deletions hetu-docs/en/admin/web-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.util.Optional;

import static java.util.concurrent.TimeUnit.DAYS;
import static java.util.concurrent.TimeUnit.MINUTES;

public class QueryEditorConfig
{
Expand All @@ -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()
{
Expand Down

0 comments on commit 9f1c40c

Please sign in to comment.