Skip to content
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

Merged
merged 3 commits into from
Mar 28, 2023
Merged

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Mar 27, 2023

This PR solves #133 and makes the heartbeat interval configurable via CLI option as well as configuration file.

Signed-off-by: Michael Engel <mengel@redhat.com>
Signed-off-by: Michael Engel <mengel@redhat.com>
Signed-off-by: Michael Engel <mengel@redhat.com>
@engelmi engelmi force-pushed the heartbeat_interval_configurable branch from 2d94c92 to 13e0f15 Compare March 28, 2023 09:30
@engelmi engelmi merged commit 347bc55 into main Mar 28, 2023
@engelmi engelmi deleted the heartbeat_interval_configurable branch March 28, 2023 10:52
@@ -26,6 +26,10 @@ ManagerHost=
# CLI options.
#ManagerAddress=

#
# Defines the interval between two heartbeat signals sent to hirte in milliseconds.
#HeartbeatInterval=
Copy link
Member

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=
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

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

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants