mirror of
https://github.com/ansible/awx.git
synced 2026-04-10 20:49:24 -02:30
Add task manager rescheduling hooks, de-duplication, lifecycle tests
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user