Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
iamigo committed Jun 16, 2017
1 parent e4c04ea commit 0140b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion realtime/redisPublisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function publishObject(inst, event, changedKeys, ignoreAttributes) {
if (obj[event]) {
const objectAsString = JSON.stringify(obj);
if (featureToggles.isFeatureEnabled('instrumentRealtimeEvents')) {
console.log(`[RT] publishTimestamp=${new Date()} ` +
console.log(`[RT] publishTimestamp=${(new Date()).toISOString()} ` +
`size=${objectAsString.length}`);
}

Expand Down
2 changes: 1 addition & 1 deletion realtime/redisSubscriber.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const featureToggles = require('feature-toggles');
module.exports = (io) => {
sub.on('message', (channel, mssgStr) => {
if (featureToggles.isFeatureEnabled('instrumentRealtimeEvents')) {
console.log(`[RT] subscribeTimestamp=${new Date()} ` +
console.log(`[RT] subscribeTimestamp=${(new Date()).toISOString()} ` +
`size=${mssgStr.length}`);
}

Expand Down

0 comments on commit 0140b4b

Please sign in to comment.