always discard events beneath line threshold

This commit is contained in:
Jake McDermott 2018-05-24 22:48:09 -04:00
parent cdbcf4c128
commit 46758f1e7e
No known key found for this signature in database
GPG Key ID: 3B02CAD476EECB35

View File

@ -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()) {