Skip to content

Commit

Permalink
Merge pull request #37 from myNameIsPatrick/increase_timeout
Browse files Browse the repository at this point in the history
producer.py: increase producer timeout to 10s
  • Loading branch information
spenczar authored Jul 16, 2020
2 parents 4fdeff9 + bafc5e0 commit ad9978c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adc/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class ProducerConfig:

# produce_timeout sets the maximum amount of time that the backend can take
# to send a message to Kafka. Use a value of 0 to never timeout.
produce_timeout = timedelta(seconds=2)
produce_timeout = timedelta(seconds=10)

def _to_confluent_kafka(self) -> Dict:
config = {
Expand Down

0 comments on commit ad9978c

Please sign in to comment.