def work_loop(self, *args, **kw):
    if settings.AWX_CALLBACK_PROFILE:
        signal.signal(signal.SIGUSR1, self.toggle_profiling)
    return super(CallbackBrokerWorker, self).work_loop(*args, **kw)
def work_loop(self, *args, **kw):
    if settings.AWX_CALLBACK_PROFILE:
        signal.signal(signal.SIGUSR1, self.toggle_profiling)
    return super(CallbackBrokerWorker, self).work_loop(*args, **kw)