fix heartbeat spelling

This commit is contained in:
Roberto Soto 2019-11-04 13:05:07 -08:00
parent 8a0f474075
commit bf7659dfa0

View file

@ -50,7 +50,7 @@ class PypoMessageHandler(Thread):
self.config["user"], \ self.config["user"], \
self.config["password"], \ self.config["password"], \
self.config["vhost"], \ self.config["vhost"], \
hearbeat = 4) as connection: heartbeat = 5) as connection:
rabbit = RabbitConsumer(connection, [schedule_queue], self) rabbit = RabbitConsumer(connection, [schedule_queue], self)
rabbit.run() rabbit.run()
except Exception, e: except Exception, e: