mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
remove another expensive logging lookup in the parent callback process
This commit is contained in:
@@ -72,9 +72,6 @@ class PoolWorker(object):
|
|||||||
if not body.get('uuid'):
|
if not body.get('uuid'):
|
||||||
body['uuid'] = str(uuid4())
|
body['uuid'] = str(uuid4())
|
||||||
uuid = body['uuid']
|
uuid = body['uuid']
|
||||||
logger.debug('delivered {} to worker[{}] qsize {}'.format(
|
|
||||||
uuid, self.pid, self.qsize
|
|
||||||
))
|
|
||||||
self.managed_tasks[uuid] = body
|
self.managed_tasks[uuid] = body
|
||||||
self.queue.put(body, block=True, timeout=5)
|
self.queue.put(body, block=True, timeout=5)
|
||||||
self.messages_sent += 1
|
self.messages_sent += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user