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

Update hearthbeat

parent 6bfe6180
Branches
No related merge requests found
......@@ -20,7 +20,7 @@ _RABBIT_URL = get_param('RABBIT_URL',
def main():
parameters = pika.URLParameters(_RABBIT_URL)
parameters._heartbeat = 10000000
parameters._heartbeat = 65535
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