aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-01-28 19:26:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-01-28 19:28:30 -0800
commit7b340d0f27673bd4141aaa66f38f32607d165b77 (patch)
treee643a22fdadb123be49b507ed9befac5bc1bb9d9 /python
parent943409c2283faa9a6d04ccc6e43886224170e4f2 (diff)
downloadfatcat-7b340d0f27673bd4141aaa66f38f32607d165b77.tar.gz
fatcat-7b340d0f27673bd4141aaa66f38f32607d165b77.zip
increase kafka-pixy timeout to 25 seconds
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/kafka.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/kafka.py b/python/fatcat_web/kafka.py
index 895e719f..44aac5fb 100644
--- a/python/fatcat_web/kafka.py
+++ b/python/fatcat_web/kafka.py
@@ -4,7 +4,7 @@ import requests
from fatcat_web import Config
-def kafka_pixy_produce(topic, msg, key=None, sync=True, timeout=5):
+def kafka_pixy_produce(topic, msg, key=None, sync=True, timeout=25):
"""
Simple helper to public a message to the given Kafka topic, via the
configured kafka-pixy HTTP gateway