mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
5632ccb796
commit
ea7a86fa7d
1 changed files with 2 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue