-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF49, 11.x, 2021.5
-
Component/s: Elasticsearch
-
Release Notes Summary:A longer Elastic timeout is used for write operation.
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #37
-
Story Points:3
With the default rest-client, we can configure connection.timeout.ms and socket.timeout.ms.
Controlling the socket timeout is a way to limit queries that take too long and impact the UI rendering, 20s is a good default.
But this could lead to stream failure when submitting an indexing command.
Note also that bulk indexing commands use a custom timeout which is 60s by default,
we want a longer timeout for write operations.