-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add session expiry #6
Add session expiry #6
Conversation
thank you! I had a quick look and there are couple of issues you may want to look into:
I suggest that you try to organise sessions in a priority queue, prioritised by the time since the last access (you can use |
I think LRU is a good candidate to implement it. |
Yes, definitely LRU cache from a library can also be used |
Updated PR with LRU |
Should UiSessions also be turned into LRU cache? Is the lock for the nodeSessionMap still required? Default value of |
Yeah, I missed the Updated pr:
|
Thank you, I will take a look shortly. Now that we have linter, could you please also fix lint errors? |
Fixed lint errors |
Thanks, can you also tidy up |
I ran |
README.md