xlab-steampunk / redfish-client-python

Minimalistic Redfish API client
Apache License 2.0
4 stars 8 forks source link

Add a default timeout to the redfish requests #21

Closed aljazkosir closed 3 years ago

aljazkosir commented 3 years ago

Python requests library has timout set to None by default, which means it'll wait (hang) until the connection is closed.

In this commit, we introduce the default timeout and also add a parameter to the Connector that allows us to modify this value.