Extend delays in subsequent Redfish calls

Currently, the Redfish client only waits two seconds between subsequent
calls that require retries. This value is often times not long enough on
baremetal. This change increases the wait time to thirty seconds.

Change-Id: I0286e75f9eca77dff3385b01e30004c99c88d031
Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
Drew Walters 2020-04-22 19:09:52 +00:00
parent 9a905cd9c4
commit 469435ff78
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const (
// ClientType is used by other packages as the identifier of the Redfish client.
ClientType string = "redfish"
systemActionRetries = 30
systemRebootDelay = 2 * time.Second
systemRebootDelay = 30 * time.Second
)
// Client holds details about a Redfish out-of-band system required for out-of-band management.