Skip to content

Allow timeout param on Task API #852

@rooterkyberian

Description

@rooterkyberian

It could be better document, but Tasks API allows specifying timeout param

https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html

The task API can also be used to wait for completion of a particular task. The following call will block for 10 seconds or until the task with id oTUltX4IQMOUUVeiohTt8A:12345 is completed.
GET _tasks/oTUltX4IQMOUUVeiohTt8A:12345?wait_for_completion=true&timeout=10s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions