Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Change default discovery interval for Mira to 10 seconds #219

Merged
merged 2 commits into from
Jan 12, 2018

Conversation

wennmo
Copy link
Member

@wennmo wennmo commented Jan 10, 2018

The current default discovery interval for Mira is 1 second. Since not many use-cases are so reliant on detecting new engines in an orchestration, lets increase the value to 10 seconds instead. The interval is still configurable from env variable MIRA_ENGINE_DISCOVERY_INTERVAL, which is used in the tests.

Also changed the initial value for discoverySuccessful to true, otherwise orchestration api failures on startup of the service will not be logged.

Copy link
Contributor

@FredrikFolkesson FredrikFolkesson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@peol peol merged commit 987e93e into master Jan 12, 2018
@peol peol deleted the default_discovery branch January 12, 2018 12:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants