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

Optimize auth module timer implementation to reduce resource consumption. #109

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wa5i
Copy link
Collaborator

@wa5i wa5i commented Jan 15, 2025

  1. Each LeaseEntry used one thread before, consuming too many resources. Now using PriorityQueue, only one thread is needed.
  2. Optimize auth module data structure and code for clarity and conciseness.
  3. Fix bugs in the auth module and add test cases.

…ion.

1.Each LeaseEntry used one thread before, consuming too many resources.
  Now using PriorityQueue, only one thread is needed.
2.Optimize auth module data structure and code for clarity and conciseness.
3.Missing test cases, will add them later.
@wa5i wa5i requested review from InfoHunter and wsjswy January 15, 2025 19:23
@wa5i wa5i force-pushed the optimization branch 2 times, most recently from e78dcdd to a16c4b6 Compare January 18, 2025 11:40
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.

1 participant