-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be smarter with Failed to connect notifications #376
Comments
How about this policy:
|
Hi Shengyu,
This unfortunately wouldn't work for me. I use (bounced) IRC at work and I
often connect from outside via VPN, while sometimes it's perfectly OK for
me to work for a while offline (avoiding metered data use and
distractions), sometimes I try hotspots (again to save my metered data)
that don't offer full connection until I go through the captive portal.
If my reboot (usually once per week or two) is at work, srain would be
annoying exactly as today with the proposed policy because it would connect
without issues first, but then would come first suspend followed by resume
at different location with a different connectivity.
NM has notion of all of these (including metered data, if you want to be
extra nifty, skip url preloading when on such a connection…), hopefully
exposed at some standardized org.freedesktop.something interface.
Dne čt 1. 9. 2022 8:14 uživatel Shengyu Zhang ***@***.***>
napsal:
… How about this policy:
- If the connection has been established once, produce a notification
for every failure
- If not, only produce a notification for the first failure (but keep
reconnecting)
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKXO4W2ANMKECOF6OR4T5TV4BCT5ANCNFSM6AAAAAAQBPVV7M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Okay, I get it. How about notifying for once, until it is successfully connected again? Srain is not in active development, but I think we can improve this in the next minor release. |
Yeah, that would be great from my POV.
Got it. I tried using srain over last week as my primary IRC client and these new issues are the result. :) Without fixing this one, I couldn't use it long-term. Overall, I like it more than not as it gets most of basic stuff right. |
#386 does not good, I will introduce a better notification policy. |
srain produces notification per every
Failed to connect to NETWORK
event. I see two instances of it:Version
The text was updated successfully, but these errors were encountered: