Skip to content

Commit

Permalink
Bump redfish default timeout from 3s to 15s.
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray committed Mar 7, 2024
1 parent 33ded90 commit bfb2b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prometheus_hardware_exporter/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def parse_command_line() -> argparse.Namespace:
)
parser.add_argument(
"--redfish-client-timeout",
help="Redfish client timeout in seconds for initial connection (default: 3) ",
help="Redfish client timeout in seconds for initial connection (default: 15) ",
default=DEFAULT_REDFISH_CLIENT_TIMEOUT,
type=int,
)
Expand Down
2 changes: 1 addition & 1 deletion prometheus_hardware_exporter/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
DEFAULT_CONFIG = os.path.join(os.environ.get("SNAP_DATA", "./"), "config.yaml")

DEFAULT_IPMI_SEL_INTERVAL = 86400
DEFAULT_REDFISH_CLIENT_TIMEOUT = 3
DEFAULT_REDFISH_CLIENT_TIMEOUT = 15
DEFAULT_REDFISH_CLIENT_MAX_RETRY = 1
DEFAULT_REDFISH_DISCOVER_CACHE_TTL = 86400

Expand Down

0 comments on commit bfb2b3e

Please sign in to comment.