-
Notifications
You must be signed in to change notification settings - Fork 45
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
[SlowQuery] Deletion of notification #2586
Comments
What if we just keep the notifications? |
This would not be GDPR compliant, as we would also delete notifications from users who delete their account. |
Ah. Right. I forgot about that. We have a few options to improve this slow query. (Just spitting ideas:)
what do you think? |
We could even merge both of those |
Describe the bug
The selective deletion of notifications from the database is very slow, as we work with JSON search parameters here. Another solution must be found here.
Steps to reproduce
traewelling/app/Observers/FollowObserver.php
Lines 14 to 17 in eca479b
The text was updated successfully, but these errors were encountered: