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

Clearing UserOnlineIP and AliveMap #22

Closed
wants to merge 1 commit into from
Closed

Clearing UserOnlineIP and AliveMap #22

wants to merge 1 commit into from

Conversation

Ahmad10611
Copy link

In limiter.go, the UpdateUser function was modified to remove old entries from UserOnlineIP and AliveMap for users who have been deleted, ensuring proper updates when UUIDs change or users are removed.

In limiter.go, the UpdateUser function was modified to remove old entries from UserOnlineIP and AliveMap for users who have been deleted, ensuring proper updates when UUIDs change or users are removed.
Copy link
Owner

@wyx2685 wyx2685 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove function

@Ahmad10611
Copy link
Author

"The function was removed because it was either no longer necessary or had become redundant with other parts of the system. If its functionality was covered elsewhere or it was no longer in use, it made sense to clean up the code to avoid confusion and reduce complexity."

@wyx2685
Copy link
Owner

wyx2685 commented Sep 11, 2024

I dont want to explain so much

@wyx2685 wyx2685 closed this Sep 11, 2024
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