Add task manager rescheduling hooks, de-duplication, lifecycle tests

This commit is contained in:
AlanCoding
2018-11-14 11:31:34 -05:00
parent 5e18eccd19
commit 758a488aee
7 changed files with 140 additions and 25 deletions

View File

@@ -9,16 +9,6 @@ from awx.main.dispatch.publish import task
logger = logging.getLogger('awx.main.scheduler')
@task()
def run_job_launch(job_id):
TaskManager().schedule()
@task()
def run_job_complete(job_id):
TaskManager().schedule()
@task()
def run_task_manager():
logger.debug("Running Tower task manager.")