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

cache number of users monitoring objects #642

Open
fspegni opened this issue Nov 9, 2017 · 0 comments
Open

cache number of users monitoring objects #642

fspegni opened this issue Nov 9, 2017 · 0 comments

Comments

@fspegni
Copy link
Collaborator

fspegni commented Nov 9, 2017

Objects that can be monitored should have a field for storing the number of users monitoring them.

Such cache value should be updated using django signal's (listening to save actions on instances of Monitoring model).

See also: MonitorizedItem.all_monitoring_count and MonitorizedItem.all_monitoring_users

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

No branches or pull requests

1 participant