blakesmith / flamethrower

Flamethrower gives you the power to use your awesome irc client to talk in your campfire rooms
MIT License
39 stars 2 forks source link

Should handle reconnect logic after max number of retries #14

Open blakesmith opened 13 years ago

blakesmith commented 13 years ago

Sometimes the campfire streaming API will get disconnected after retrying the max retries in twitter-stream. We need need some reconnect handling.

This should probably be delegated to twitter-stream, since it already handles retry timing. From first glance the easiest option might be to add a timer that will call @stream.reset_timeouts and then try to connect again.