Skip to content

Commit

Permalink
Add 409 to NOT_DEAD_NODE_HTTP_STATUSES (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcotterr committed Sep 27, 2023
1 parent 17338aa commit 97542b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elastic_transport/_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
# 'errors' for marking a node as dead. These errors typically
# mean everything is fine server-wise and instead the API call
# in question responded successfully.
NOT_DEAD_NODE_HTTP_STATUSES = {None, 400, 401, 402, 403, 404}
NOT_DEAD_NODE_HTTP_STATUSES = {None, 400, 401, 402, 403, 404, 409}
DEFAULT_CLIENT_META_SERVICE = ("et", client_meta_version(__version__))

_logger = logging.getLogger("elastic_transport.transport")
Expand Down

0 comments on commit 97542b2

Please sign in to comment.