Permalink
Browse files

Removed manual retry.

  • Loading branch information...
1 parent 57cf0ad commit 17a6066c761cd04dadd58b39845dd2ba31f231b0 @adrianbravo adrianbravo committed Mar 25, 2011
Showing with 0 additions and 11 deletions.
  1. +0 −11 public/javascripts/environment.js
@@ -33,17 +33,6 @@ Environment.prototype.connect = function(){
});
this.socket.connect();
-
- // retry connection
- // socket.io's timeout and retry don't seem to work well w/firefox
- this.connected = setInterval(function() {
- if (that.socket.connected == true) {
- clearInterval(that.connected);
- } else {
- that.socket.connect();
- }
- }, 2000);
-
return true;
};

0 comments on commit 17a6066

Please sign in to comment.