Skip to content

Commit 231083f

Browse files
authored
Minor change to default for client retries (#1865)
1 parent 1784b8e commit 231083f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/schema_registry/schema_registry_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __init__(self, conf: dict):
140140
raise TypeError("cache.latest.ttl.sec must be a number, not " + str(type(cache_latest_ttl_sec)))
141141
self.cache_latest_ttl_sec = cache_latest_ttl_sec
142142

143-
self.max_retries = 2
143+
self.max_retries = 3
144144
max_retries = conf_copy.pop('max.retries', None)
145145
if max_retries is not None:
146146
if not isinstance(timeout, (int, float)):

0 commit comments

Comments
 (0)