Skip to content

Commit a81deac

Browse files
dpkp88manpreet
authored andcommitted
Timeout idle connections via connections_max_idle_ms (dpkp#1068)
1 parent bc04413 commit a81deac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/producer/kafka.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class KafkaProducer(object):
276276
'linger_ms': 0,
277277
'partitioner': DefaultPartitioner(),
278278
'buffer_memory': 33554432,
279-
'connections_max_idle_ms': 9 * 60 * 1000,
279+
'connections_max_idle_ms': 9 * 60 * 1000, # not implemented yet
280280
'max_block_ms': 60000,
281281
'max_request_size': 1048576,
282282
'metadata_max_age_ms': 300000,

0 commit comments

Comments
 (0)