Skip to content

Commit 5860180

Browse files
authoredMar 31, 2017
Merge pull request #31 from signalfx/fixLastSeenDataBatchTime
Fix last seen data batch time
2 parents 9e5c763 + f6152d3 commit 5860180

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/client/signalflow/message_router.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ function getRoutedMessageHandler(params, onMessage, onError, isRetryPatchMode) {
2323
var errorOccurred = false;
2424
var basisData = dataArray[0];
2525
var expectedTimeStamp = basisData.logicalTimestampMs;
26+
lastSeenDataBatchTime = expectedTimeStamp;
2627
dataArray.slice(1).forEach(function (batch) {
2728
if (batch.logicalTimestampMs !== expectedTimeStamp) {
2829
errorOccurred = true;
2930
} else {
3031
basisData.data = basisData.data.concat(batch.data);
31-
lastSeenDataBatchTime = batch.logicalTimestampMs;
3232
}
3333
});
3434

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "signalfx",
3-
"version": "4.0.22",
3+
"version": "4.0.23",
44
"description": "Node.js client library for SignalFx",
55
"homepage": "https://signalfx.com",
66
"repository": "https://github.com/signalfx/signalfx-nodejs",

0 commit comments

Comments
 (0)
Please sign in to comment.