From 46758f1e7e0cbcd86418336097d41b3bdcdc8415 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Thu, 24 May 2018 22:48:09 -0400 Subject: [PATCH] always discard events beneath line threshold --- awx/ui/client/features/output/engine.service.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/features/output/engine.service.js b/awx/ui/client/features/output/engine.service.js index cf77c276d3..bb884e52af 100644 --- a/awx/ui/client/features/output/engine.service.js +++ b/awx/ui/client/features/output/engine.service.js @@ -115,10 +115,11 @@ function JobEventEngine ($q) { this.chain = this.chain .then(() => { + if (data.end_line < this.lines.min) { + return $q.resolve(); + } + if (!this.isActive()) { - if (data.end_line < (this.lines.min)) { - return $q.resolve(); - } this.start(); } else if (data.event === JOB_END) { if (this.isPaused()) {