Refactor some tower periodic tasks to label as awx

This commit is contained in:
Matthew Jones
2017-07-26 12:32:55 -04:00
parent 9fe6453b1c
commit b3b4a515e2
7 changed files with 10 additions and 10 deletions

View File

@@ -213,7 +213,7 @@ def cluster_node_heartbeat(self):
@task(bind=True, base=LogErrorsTask)
def tower_isolated_heartbeat(self):
def awx_isolated_heartbeat(self):
local_hostname = settings.CLUSTER_HOST_ID
logger.debug("Controlling node checking for any isolated management tasks.")
poll_interval = settings.AWX_ISOLATED_PERIODIC_CHECK
@@ -237,7 +237,7 @@ def tower_isolated_heartbeat(self):
@task(bind=True, queue='tower', base=LogErrorsTask)
def tower_periodic_scheduler(self):
def awx_periodic_scheduler(self):
run_now = now()
state = TowerScheduleState.get_solo()
last_run = state.schedule_last_run