-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heartbeat interval configurable #228
Conversation
Signed-off-by: Michael Engel <mengel@redhat.com>
Signed-off-by: Michael Engel <mengel@redhat.com>
Signed-off-by: Michael Engel <mengel@redhat.com>
2d94c92
to
13e0f15
Compare
@@ -26,6 +26,10 @@ ManagerHost= | |||
# CLI options. | |||
#ManagerAddress= | |||
|
|||
# | |||
# Defines the interval between two heartbeat signals sent to hirte in milliseconds. | |||
#HeartbeatInterval= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the option have a default value? If so, please add it here
@@ -22,6 +22,10 @@ ManagerPort=842 | |||
# CLI options. | |||
ManagerAddress= | |||
|
|||
# | |||
# Defines the interval between two heartbeat signals sent to hirte in milliseconds. | |||
HeartbeatInterval= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
#### **--interval**, **-i** | ||
|
||
The interval between two heartbeat signals sent to hirte in milliseconds. This option will overwrite the heartbeat interval defined in the configuration file. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
#### **HeartbeatInterval** (long) | ||
|
||
The interval between two heartbeat signals sent to hirte in milliseconds. This option will overwrite the heartbeat interval defined in the configuration file. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
This PR solves #133 and makes the heartbeat interval configurable via CLI option as well as configuration file.