MCPcopy Create free account
hub / github.com/StackStorm/st2 / retry_if_io_error

Function retry_if_io_error

st2common/st2common/transport/bootstrap_utils.py:172–173  ·  view source on GitHub ↗
(exception)

Source from the content-addressed store, hash-verified

170
171def register_exchanges_with_retry():
172 def retry_if_io_error(exception):
173 return isinstance(exception, socket.error)
174
175 retrying_obj = retrying.Retrying(
176 retry_on_exception=retry_if_io_error,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected