Commit 22934de8 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Increase timeout on request

parent c560ebab
Pipeline #26124 passed with stages
in 5 minutes and 16 seconds
......@@ -251,6 +251,7 @@ class BulkProcessor(
val request = UpdateByQueryRequest(index)
request.isAbortOnVersionConflict = true
request.setQuery(QueryBuilders.termQuery(updateQuery.term, updateQuery.value))
request.timeout = TimeValue.timeValueMinutes(10)
request.script = Script(
INLINE, "painless", updateQuery.source, updateQuery.params
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment