Skip to content

Commit

Permalink
log improved reordering logging
Browse files Browse the repository at this point in the history
  • Loading branch information
da4throux committed Nov 1, 2019
1 parent b327dea commit cb896a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module.exports = NodeHelper.create({
},

orderResult: function (result) {
this.config.reorderPotential;
this.config.reorderPotential++;
let orderChanged = false;
let schedules = result.schedules;
if (schedules) {
Expand Down Expand Up @@ -165,7 +165,7 @@ module.exports = NodeHelper.create({

processRATP: function(data, _l) {
this.log (' *** processRATP data received for ' + (_l.label || ''));
if (this.config.reorder) {
if (this.config.reorder && _l.type == 'rers') {
this.log ('reordered: ' + this.config.reordered + ' / ' + this.config.reorderPotential);
}
this.log (data.result);
Expand Down

0 comments on commit cb896a1

Please sign in to comment.