-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
UfAlerts sometimes fail to delete old alerts #633
Comments
I managed to somehow successfully replicate by adding multiple To fix this, a |
Wouldn't a cache be victim to the same issue? |
Not really. Everything goes down to race condition. Session file is written every time the request is done. Config is written when you modify it. |
This is implemented in 4.1. As discussed with @alexweissman, the session based alertStream will still be default for now, but if this problem surface again, it can be easily changed in the config values. |
I'm experiencing this too. Seems to be fixed by changing to |
At this point we should probably just make cache the default... |
UfAlerts may randomly fail to delete old alerts and show old alerts on top of new ones when a page is loaded. This has been linked to the alerts being stored in session files since those files are read and written too often in rapid succession. This may cause overlapping of multiple read and write operations.
A proposed fix for this would be to move ufAlerts from the session storage to the cache storage.
The text was updated successfully, but these errors were encountered: