When a connection is dropped repeatedly, or, heaven forbid, the servers drop out repeatedly in a short time, we'll want to throttle notifications of that fact as follows:
Show the first disconnection msg, then back off for n seconds. After n seconds, *only* show a notification if the current state != the state that the user was last notified off.
finding a good n is left as an exercise for the reader.
When a connection is dropped repeatedly, or, heaven forbid, the servers drop out repeatedly in a short time, we'll want to throttle notifications of that fact as follows:
Show the first disconnection msg, then back off for n seconds. After n seconds, *only* show a notification if the current state != the state that the user was last notified off.
finding a good n is left as an exercise for the reader.