Inevitably network connections will let us down and reads will fail. To prevent indefinite hanging in this situation we can now rely on a default read timeout of 10s. The default value can also be overridden by instantiating the class with the new value specified as socket_timeout. Credit to @mattura for the suggestion.
Inevitably network connections will let us down and reads will fail. To prevent indefinite hanging in this situation we can now rely on a default read timeout of 10s. The default value can also be overridden by instantiating the class with the new value specified as socket_timeout. Credit to @mattura for the suggestion.