I keep getting a Twitter stream stalled due to operational disconnect. I handle this with an error decorator, which then tries to reconnect using retry and some back off delay. However, when I do this, I eventually get a "This stream is currently at the maximum allowed connection limit" which as I understand, means I've been creating new connections, rather than killing and restarting the old one.
What's the advised or suggested way to kill and destroy the previous stream connection, and then reconnect from scratch?
Hi,
I keep getting a
Twitter stream stalled
due to operational disconnect. I handle this with an error decorator, which then tries to reconnect usingretry
and some back off delay. However, when I do this, I eventually get a "This stream is currently at the maximum allowed connection limit" which as I understand, means I've been creating new connections, rather than killing and restarting the old one. What's the advised or suggested way to kill and destroy the previous stream connection, and then reconnect from scratch?