{"issue":{"created_at":"2011-07-05T17:43:45Z","state":"open","updated_at":"2011-11-30T02:59:59Z","comments":8,"user":{"gravatar_id":"6ea198462852c3475c483f17053dd370","id":722148,"url":"https://api.github.com/users/pearjoint","login":"pearjoint","avatar_url":"https://secure.gravatar.com/avatar/6ea198462852c3475c483f17053dd370?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I raised this for the previous version and it was said that 0.7 lets us disable exponential back-off for reconnects -- how / where?\r\n\r\n(Irrelevant side-note... I still fully do not grasp the utility of that, by the way. Sure Gmail does the same when you lose your connectivity but... why? So if I lose my 3G connection for 15 minutes and then go back offline, exponential back-off could cause the reconnection to happen only *minutes* later rather than seconds later -- and as a result a \"reconnect manually now\" link would have to be added to such an app. If my reconnect interval could always be 5 or 10 seconds with NO back-off -- simplicity and \"auto-magical\" ease-of-use and no confusing reconnect links. As long as either the client or the server are offline, a regular, non-backoff reconnecting doesn't hurt either party, right?)\r\n\r\nAnyway, I'd love to turn this off. Thanks in advance for letting me know how!","assignee":{"gravatar_id":"21f4971707a00270b92e2ae791d5633d","id":28071,"url":"https://api.github.com/users/3rd-Eden","login":"3rd-Eden","avatar_url":"https://secure.gravatar.com/avatar/21f4971707a00270b92e2ae791d5633d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":1168789,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature request","color":"444444","url":"https://api.github.com/repos/LearnBoost/socket.io-client/labels/Feature+request"},{"name":"Planned feature","color":"02d7e1","url":"https://api.github.com/repos/LearnBoost/socket.io-client/labels/Planned+feature"},{"name":"Reconnect","color":"FFD700","url":"https://api.github.com/repos/LearnBoost/socket.io-client/labels/Reconnect"}],"number":226,"title":"How to disable the \"exponential back off algorithm\" for reconnect?","html_url":"https://github.com/LearnBoost/socket.io-client/issues/226","closed_at":null,"url":"https://api.github.com/repos/LearnBoost/socket.io-client/issues/226","milestone":null},"action":"created","comment":{"created_at":"2011-11-30T02:59:59Z","updated_at":"2011-11-30T02:59:59Z","user":{"gravatar_id":"4cbab53fdaa4e5ac09604c3f5923ea10","id":313194,"url":"https://api.github.com/users/leanderlee","login":"leanderlee","avatar_url":"https://secure.gravatar.com/avatar/4cbab53fdaa4e5ac09604c3f5923ea10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"This is a huge hack, but I am doing `socket.socket.reconnectionDelay /= 2` on `reconnecting` until this gets merged.","id":2954300,"url":"https://api.github.com/repos/LearnBoost/socket.io-client/issues/comments/2954300"}}