Prevent CPU eating if network connection totally dies
authorSam Lade <sam@sentynel.com>
Sun, 26 Feb 2012 00:00:52 +0000 (00:00 +0000)
committerSam Lade <sam@sentynel.com>
Sun, 26 Feb 2012 00:00:52 +0000 (00:00 +0000)
commitd5b7f39c1db7858700b96032a486b7c7a55e46ab
tree45c2a577a0098af60aea798b7ddca4a9a063bf83
parentd57daac149ab807da7ae801ca7c7406757fd26ac
Prevent CPU eating if network connection totally dies

If the connection becomes marked as unavailable, the chatstream network reply
signals finished immediately, leading to an infinite loop of retrying the
stream fetch.
We now check the time the stream was opened and sleep for a few seconds if it
was too recent.
PyRook/ChatTab.py