Skip to content

Commit 57052de

Browse files
committed
fix producer poll default value
1 parent f926e23 commit 57052de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quixstreams/rowproducer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def produce_row(
158158
return
159159
raise
160160

161-
def poll(self, timeout: float = None):
161+
def poll(self, timeout: float = 0):
162162
"""
163163
Polls the producer for events and calls `on_delivery` callbacks.
164164

0 commit comments

Comments
 (0)