Skip to content

Replace sync API check in elasticsearch creation with async #29

@ehacke

Description

@ehacke

Right now this library causes the main thread to block while it waits for a response from the elasticsearch it is querying.

I realize that in our initial build we didn't care because we were only running one task at a time, but this stops execution of everything else that is happening on this node and could be easily fixed.

Return a promise instead of blocking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions