Skip to content

Commit

Permalink
Adding "seconds" to tokenAge stat to indicate unit of age.
Browse files Browse the repository at this point in the history
  • Loading branch information
caleywoods committed Apr 5, 2012
1 parent c740a07 commit 59ea3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node2dm.js
Expand Up @@ -341,7 +341,7 @@ function C2DMConnection(config) {
var loggedInStatus = (self.currentAuthorizationToken ? "true" : "false");
stream.write("logged_in_to_c2dm: " + loggedInStatus + "\n");
if (self.currentAuthorizationToken) {
stream.write("token_age: " + tokenAge + "\n");
stream.write("token_age: " + tokenAge + " seconds\n");
}

var memoryUsage = process.memoryUsage();
Expand Down

0 comments on commit 59ea3f2

Please sign in to comment.