Commit 72682b88 authored by echel0n's avatar echel0n
Browse files

Added SiCKRAGE API endpoint for declaring AMQP server queue

AMQP consumer now declares server queue prior to connecting using SiCKRAGE API endpoint
parent 0107a365
......@@ -59,6 +59,7 @@ class AMQPBase(object):
# declare server amqp queue
if not sickrage.app.api.server.declare_amqp_queue(sickrage.app.config.general.server_id):
IOLoop.current().call_later(5, self.reconnect)
return
# connect to amqp server
try:
......
Markdown is supported
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