Skip to content

don't count "system" local accounts in user chart - fixes #451

dakkar requested to merge feature/451-fix-user-count-chart into develop

What does this PR do?

Make the user chart (which is used to show the number of users in the "instance information" page and in nodeinfo) ignore "system" users (instance.actor, relay.actor) so single-user instances don't have inflated numbers (big instances are of course also affected, but nobody cares about the difference between 1000 users and 1002 users!)

I have run that like query against the remote users on my instance (about 10k rows) and it only added ~50ms; I don't think we need to worry about such a small difference for a query that runs once per hour.

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports