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

redfishpower: increase default message timeout #191

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion man/redfishpower.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Set default Redfish postdata for performing power off. Typically is {"ResetType
.TP
.I "-m, --message-timeout seconds"
Set message timeout, the timeout most notably associated with
connection timeouts or name resolution timeouts. Default is 5
connection timeouts or name resolution timeouts. Default is 10
seconds. Note that this different than the command timeout specified
by
.B settimeout
Expand Down
2 changes: 1 addition & 1 deletion src/redfishpower/redfishpower.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static zhashx_t *test_power_status;
static zhashx_t *resolve_hosts_cache = NULL;

/* in seconds */
#define MESSAGE_TIMEOUT_DEFAULT 5
#define MESSAGE_TIMEOUT_DEFAULT 10
#define CMD_TIMEOUT_DEFAULT 60

/* Per documentation, wait incremental time then proceed if timeout < 0 */
Expand Down
Loading