Skip to content

Conversation

@RusseII
Copy link
Owner

@RusseII RusseII commented Aug 18, 2025

Summary

  • Removed all user-counts API calls since the UI displaying this data is commented out
  • Optimized connection stats refresh from 30s to 5 minutes
  • Added 4-minute caching to prevent redundant API calls

Changes

  • Deleted UserCountResponse and UserCountData classes
  • Removed userCountUpdateTimer field and all user count update methods
  • Removed startUserCountUpdates() and updateUserCounts() methods
  • Added connection stats caching with 4-minute duration
  • Reduced connection stats refresh interval from 30s to 5 minutes

This completes the requested changes to:

  1. Remove unused user-counts API endpoint calls
  2. Keep the optimized connection stats functionality

These changes reduce unnecessary API calls by ~90% while maintaining all displayed functionality.

🤖 Generated with Claude Code

… stats

- Remove all user-counts related code since the UI is commented out
- Delete UserCountResponse and UserCountData classes
- Remove userCountUpdateTimer and related update methods
- Optimize connection stats refresh interval from 30s to 5 minutes
- Add 4-minute caching for connection stats to reduce API calls
- Keep only the connection stats functionality that's actually displayed

This reduces unnecessary API calls by ~90% while maintaining all displayed functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

2 participants