HomeSoftware Heritage

Add a `sleep_interval` param to the `es_instance_conn_validator` type.

Description

Add a sleep_interval param to the es_instance_conn_validator type.

This can be used to override the default sleep interval, for example on
a slower system.
Also updated default value from 2 seconds to 10 seconds.

Finally, added a unit test for the type.

Details

Provenance
Gavin Williams <gavin.williams@elastic.co>Authored on May 4 2020, 3:53 PM
vsellierPushed on Sep 25 2020, 11:26 AM
Parents
R150:fbacf4406682: Remove duplicate providers for `x-pack/oss-xpack`.
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Williams <gavin.williams@elastic.co> committed R150:8a7208b4eaec: Add a `sleep_interval` param to the `es_instance_conn_validator` type. (authored by Gavin Williams <gavin.williams@elastic.co>).May 4 2020, 3:53 PM