Skip to content

* clean only the keys generated by the current server#11

Open
dubanflorin wants to merge 2 commits intoNetEase:masterfrom
dubanflorin:hotfix/cleanup-keys
Open

* clean only the keys generated by the current server#11
dubanflorin wants to merge 2 commits intoNetEase:masterfrom
dubanflorin:hotfix/cleanup-keys

Conversation

@dubanflorin
Copy link

If we have multiple servers using the status plugin when one of them is restarted it will clean all the status keys.
I changed the clean method to only remove the entries for the current server if there are any.
I've added another redis sorted set that keeps all the uids that were set as online for the current sid.

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