mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
optimize OutputEventFilter for large stdout streams
update our event data search algorithm to be a bit lazier in event data discovery; this drastically improves processing speeds for stdout >5MB see: https://github.com/ansible/awx/issues/417
This commit is contained in:
@@ -147,7 +147,7 @@ class CallbackBrokerWorker(ConsumerMixin):
|
||||
from pprint import pformat
|
||||
logger.info('Body: {}'.format(
|
||||
highlight(pformat(body, width=160), PythonLexer(), Terminal256Formatter(style='friendly'))
|
||||
))
|
||||
)[:1024 * 4])
|
||||
|
||||
def _save_event_data():
|
||||
for key, cls in event_map.items():
|
||||
|
||||
Reference in New Issue
Block a user