mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
@@ -55,7 +55,7 @@ class Command(BaseCommand):
|
||||
def notify_listener_and_exit(self, *args):
|
||||
with pg_bus_conn(new_connection=False) as conn:
|
||||
conn.notify('web_heartbeet', self.construct_payload(action='offline'))
|
||||
sys.exit(1)
|
||||
sys.exit(0)
|
||||
|
||||
def do_hearbeat_loop(self):
|
||||
with pg_bus_conn(new_connection=True) as conn:
|
||||
|
||||
Reference in New Issue
Block a user