mirror of
https://github.com/ansible/awx.git
synced 2026-03-15 07:57:29 -02:30
rename scheduler config singleton
This commit is contained in:
@@ -137,7 +137,7 @@ def cluster_node_heartbeat(self):
|
||||
@task(bind=True, queue='default')
|
||||
def tower_periodic_scheduler(self):
|
||||
run_now = now()
|
||||
state = TowerState.get_solo()
|
||||
state = TowerScheduleState.get_solo()
|
||||
last_run = state.schedule_last_run
|
||||
logger.debug("Last run was: %s", last_run)
|
||||
state.schedule_last_run = run_now
|
||||
|
||||
Reference in New Issue
Block a user