Fixup RequestTimeoutError -> RequestTimedOutError
This commit is contained in:
@@ -633,7 +633,7 @@ class KafkaClient(object):
|
||||
# If the socket flush hack did not work (which should force the
|
||||
# connection to close and fail all pending requests), then we
|
||||
# get a basic Request Timeout. Thisisn
|
||||
if isinstance(f.exception, Errors.RequestTimeoutError):
|
||||
if isinstance(f.exception, Errors.RequestTimedOutError):
|
||||
pass
|
||||
elif six.PY2:
|
||||
assert isinstance(f.exception.args[0], socket.error)
|
||||
|
@@ -250,7 +250,7 @@ class Producer(object):
|
||||
async_retry_backoff_ms (int, optional): milliseconds to backoff on
|
||||
failed messages, defaults to 100.
|
||||
async_retry_on_timeouts (bool, optional): whether to retry on
|
||||
RequestTimeoutError, defaults to True.
|
||||
RequestTimedOutError, defaults to True.
|
||||
async_queue_maxsize (int, optional): limit to the size of the
|
||||
internal message queue in number of messages (not size), defaults
|
||||
to 0 (no limit).
|
||||
|
Reference in New Issue
Block a user