Skip to content

Commit 58bb0d9

Browse files
committed
Update timeout to 5 minutes
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
1 parent f54eff9 commit 58bb0d9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/user/ppl/admin/settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Description
8181

8282
This setting controls the maximum execution time for PPL queries. When a query exceeds this timeout, it will be interrupted and return a timeout error.
8383

84-
1. The default value is 120s (2 minutes).
84+
1. The default value is 300s (5 minutes).
8585
2. This setting is node scope.
8686
3. This setting can be updated dynamically.
8787

opensearch/src/main/java/org/opensearch/sql/opensearch/setting/OpenSearchSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public class OpenSearchSettings extends Settings {
7373
public static final Setting<TimeValue> PPL_QUERY_TIMEOUT_SETTING =
7474
Setting.positiveTimeSetting(
7575
Key.PPL_QUERY_TIMEOUT.getKeyValue(),
76-
TimeValue.timeValueSeconds(120),
76+
TimeValue.timeValueSeconds(300),
7777
Setting.Property.NodeScope,
7878
Setting.Property.Dynamic);
7979

0 commit comments

Comments
 (0)