mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
pool restart with thread-based external log config
for CTiT enablement of celery task Tower logs
This commit is contained in:
@@ -34,11 +34,13 @@ def run_job_complete(job_id):
|
||||
|
||||
@task
|
||||
def run_task_manager():
|
||||
logger.debug("Running Tower task manager.")
|
||||
TaskManager().schedule()
|
||||
|
||||
|
||||
@task
|
||||
def run_fail_inconsistent_running_jobs():
|
||||
logger.debug("Running task to fail inconsistent running jobs.")
|
||||
with transaction.atomic():
|
||||
# Lock
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user