Skip to content
Snippets Groups Projects
Commit 6bfe6180 authored by Marcin Wątroba's avatar Marcin Wątroba
Browse files

Update hearthbeat

parent c96708a5
No related merge requests found
......@@ -26,3 +26,11 @@ RUN poetry run python -m spacy download it_core_news_lg
RUN poetry run python -m spacy download nl_core_news_lg
RUN poetry run python -m spacy download sp_core_news_lg
RUN poetry run python -m spacy download pt_core_news_lg
poetry run python -m spacy download de_core_news_lg
poetry run python -m spacy download pl_core_news_lg
poetry run python -m spacy download en_core_web_lg
poetry run python -m spacy download it_core_news_lg
poetry run python -m spacy download nl_core_news_lg
poetry run python -m spacy download sp_core_news_lg
poetry run python -m spacy download pt_core_news_lg
......@@ -20,6 +20,7 @@ _RABBIT_URL = get_param('RABBIT_URL',
def main():
parameters = pika.URLParameters(_RABBIT_URL)
parameters._heartbeat = 10000000
connection = pika.BlockingConnection(parameters=parameters)
channel = connection.channel()
channel.basic_qos(prefetch_count=1)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment