Skip to content
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

Decrease potential for error notification spam #7981

Open
sclu1034 opened this issue Mar 6, 2025 · 0 comments
Open

Decrease potential for error notification spam #7981

sclu1034 opened this issue Mar 6, 2025 · 0 comments

Comments

@sclu1034
Copy link

sclu1034 commented Mar 6, 2025

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using:
3.15.3

Is your feature request related to a problem? Please describe.
When an error causes a sync to fail and is not a one-off issue, the client will keep trying to sync and keep failing, creating an error notification for every single attempt. One notification every few seconds, sometimes faster than the timer for the notifications to disappear.
It's effectively a constant stream of messages where no information gets added that I didn't already get from the first one.

Describe the solution you'd like
A system like an exponential backoff function, where error messages of the same type get a shared timer that keeps increasing whenever it fires and decays when not.

E.g. after the same error message was shown two or three times, it will be suppressed for a minute. If it fires again after that minute, it gets suppressed for ten minutes. If it gets suppressed again, it gets an even higher timer, and so on. If the error message stops, the corresponding timer slowly decays. If it fires again before the timer reached zero, it gets increased again.

Describe alternatives you've considered
Nothing comes to mind that would allow me to temporarily disable notifications just this one type of notification.

Additional context

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant