summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-12-13 19:05:58 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-12-13 19:05:58 -0800
commit37c0b3354eb0077ec00cb3a1e5ed1760566649b7 (patch)
tree17268539971dc41fab9b809f2230c803418602c1
parent9c1fd7cb8e60c397fa6defef2f0dc1eacc8d8aa7 (diff)
downloadfatcat-37c0b3354eb0077ec00cb3a1e5ed1760566649b7.tar.gz
fatcat-37c0b3354eb0077ec00cb3a1e5ed1760566649b7.zip
fix spn kafka topic env var
-rw-r--r--python/fatcat_web/web_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/web_config.py b/python/fatcat_web/web_config.py
index 44175ab4..0cb153d6 100644
--- a/python/fatcat_web/web_config.py
+++ b/python/fatcat_web/web_config.py
@@ -30,7 +30,7 @@ class Config(object):
# for save-paper-now. set to None if not configured, so we don't display forms/links
KAFKA_PIXY_ENDPOINT = os.environ.get("KAFKA_PIXY_ENDPOINT", default=None) or None
- KAFKA_SAVEPAPERNOW_TOPIC="sandcrawler-dev.ingest-file-requests"
+ KAFKA_SAVEPAPERNOW_TOPIC = os.environ.get("KAFKA_SAVEPAPERNOW_TOPIC", default="sandcrawler-dev.ingest-file-requests")
# for flask things, like session cookies
FLASK_SECRET_KEY = os.environ.get("FLASK_SECRET_KEY", default=None)