Hello. It is very slow when i use function logout of meteor(about 10s). Please help me!
yes me too. what’s wrong with this framework??!
I don’t have have this issue, I think people will need more details to be able to help.
The logout function waits for a callback from the server. You can speed it up my manually clearing the localstorage after calling logout:
Meteor._localStorage.removeItem('Meteor.loginToken'); Meteor._localStorage.removeItem('Meteor.loginTokenExpires'); Meteor._localStorage.removeItem('Meteor.userId');