Permalink
Browse files

realtime: shorten pid

  • Loading branch information...
indutny committed Feb 18, 2012
1 parent 89b5e76 commit 276b64887bd260229b00db1eba6fdada7c13cd35
Showing with 1 addition and 1 deletion.
  1. +1 −1 home/realtime.js
View
@@ -63,7 +63,7 @@ function GuysPool(io, options) {
process.EventEmitter.call(this);
this.version = options.version;
- this.id = ~~(Math.random() * 1e9);
+ this.id = (~~(Math.random() * 1e9)).toString(36);
this.io = io;
this.options = options;
this.pool = [];

0 comments on commit 276b648

Please sign in to comment.