Fixed the periodic call to beacons

This solves the bug where all beacons are no longer being checked for changes
This commit is contained in:
Daniel Hobley 2016-01-07 11:21:31 +01:00
parent 5632ccb796
commit ea7a86fa7d

View file

@ -1736,7 +1736,8 @@ class Minion(MinionBase):
log.critical('The beacon errored: ', exc_info=True)
if beacons:
self._fire_master(events=beacons)
self.periodic_callbacks['beacons'] = tornado.ioloop.PeriodicCallback(handle_beacons, loop_interval * 1000, io_loop=self.io_loop)
self.periodic_callbacks['beacons'] = tornado.ioloop.PeriodicCallback(handle_beacons, loop_interval * 1000, io_loop=self.io_loop)
# TODO: actually listen to the return and change period
def handle_schedule():