Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

realtime: shorten pid

  • Loading branch information...
commit 276b64887bd260229b00db1eba6fdada7c13cd35 1 parent 89b5e76
@indutny authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  home/realtime.js
View
2  home/realtime.js
@@ -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 = [];
Please sign in to comment.
Something went wrong with that request. Please try again.