Skip to content

Commit 0644bae

Browse files
committed
[push] push sent will increase dp now
1 parent cc5294b commit 0644bae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/push/api/jobs/util/resultor.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -515,13 +515,13 @@ class Resultor extends DoFinish {
515515
this.log.d('Recording %d [CLY]_push_sent\'s: %j', sent, params);
516516
require('../../../../../api/parts/data/events').processEvents(params);
517517

518-
try {
518+
/*try {
519519
this.log.d('Recording %d data points', sent);
520520
require('../../../../server-stats/api/parts/stats').updateDataPoints(common.writeBatcher, app._id, 0, {"p": sent});
521521
}
522522
catch (e) {
523523
this.log.d('Error during dp recording', e);
524-
}
524+
}*/
525525
this.sentUsers[aid][mid][p] = 0;
526526
}
527527
});

0 commit comments

Comments
 (0)