From a090df017df7772664acf916716e36bfeeeabe5b Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Thu, 31 Aug 2023 10:35:07 -0400 Subject: [PATCH] Remove extra scheduler state save that does nothing (#14396) --- awx/main/tasks/system.py | 1 - 1 file changed, 1 deletion(-) diff --git a/awx/main/tasks/system.py b/awx/main/tasks/system.py index 303866e2e677..9adc288324f5 100644 --- a/awx/main/tasks/system.py +++ b/awx/main/tasks/system.py @@ -764,7 +764,6 @@ def awx_periodic_scheduler(): new_unified_job.save(update_fields=['status', 'job_explanation']) new_unified_job.websocket_emit_status("failed") emit_channel_notification('schedules-changed', dict(id=schedule.id, group_name="schedules")) - state.save() def schedule_manager_success_or_error(instance):