openwisp/openwisp-notifications

[bug] Task update_superuser_notification_settings may be triggered also when not needed

Opened this issue · 0 comments

There's far too many occurrences of this task in some instances which pollutes the logs.
If this task is meant to be used only for staff users, now is being executed on all users.
I suspect this task is called when any user logs in (which updates the last login date).