[PR #1664] Include users' own activity in active users calculation #3187

Open
opened 2025-11-20 08:05:14 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/1664

State: closed
Merged: No


Describe your changes

Updated the active users calculation to include both users' own login activity and their peers' activity. Ensured service users are excluded accurately across SQL and FileStore implementations.

Checklist

  • [] Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/1664 **State:** closed **Merged:** No --- ## Describe your changes Updated the active users calculation to include both users' own login activity and their peers' activity. Ensured service users are excluded accurately across SQL and FileStore implementations. ## Issue ticket number and link ### Checklist - [] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [x] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:05:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#3187