Skip to content

Commit c5de86d

Browse files
authored
Fix sniffer_timeout typo in AsyncTransport
1 parent 871a335 commit c5de86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: elasticsearch/_async/transport.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def _async_call(self):
132132
await self._async_init()
133133

134134
if self.sniffer_timeout:
135-
if self.loop.time() >= self.last_sniff + self.sniff_timeout:
135+
if self.loop.time() >= self.last_sniff + self.sniffer_timeout:
136136
self.create_sniff_task()
137137

138138
async def _get_node_info(self, conn, initial):

0 commit comments

Comments
 (0)