Implement Performance improvements shown in #3492

* Make callback workers tunable
* Disable callback worker recycling - doesn't appear to be needed
  anymore
* Tweak pexpect behavior by limiting its read buffer size and search
  window
* Use copy instead of deepcopy for job event callback emitter censor
This commit is contained in:
Matthew Jones
2016-09-14 16:06:13 -04:00
parent 0948c35cb8
commit 56d4210047
4 changed files with 9 additions and 13 deletions

View File

@@ -438,6 +438,9 @@ AWX_TASK_ENV = {}
# before it recycles
JOB_EVENT_RECYCLE_THRESHOLD = 3000
# Number of workers used to proecess job events in parallel
JOB_EVENT_WORKERS = 4
# Maximum number of job events that can be waiting on a single worker queue before
# it can be skipped as too busy
JOB_EVENT_MAX_QUEUE_SIZE = 100