mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
AAP-47956 Use pg_notify for cancel and debugging, abandon socket approach (#16199)
* Use pg_notify for cancel and debugging, abandon socket approach * Bump dispatcherd for pg_notify chunking
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
# All Rights Reserved.
|
||||
import logging
|
||||
import yaml
|
||||
import os
|
||||
|
||||
import redis
|
||||
|
||||
@@ -48,10 +47,6 @@ class Command(BaseCommand):
|
||||
),
|
||||
)
|
||||
|
||||
def verify_dispatcherd_socket(self):
|
||||
if not os.path.exists(settings.DISPATCHERD_DEBUGGING_SOCKFILE):
|
||||
raise CommandError('Dispatcher is not running locally')
|
||||
|
||||
def handle(self, *arg, **options):
|
||||
if options.get('status'):
|
||||
if flag_enabled('FEATURE_DISPATCHERD_ENABLED'):
|
||||
|
||||
Reference in New Issue
Block a user