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

Custom User Status slow to update #14979

Closed
reetp opened this issue Jul 12, 2019 · 0 comments · Fixed by #15001
Closed

Custom User Status slow to update #14979

reetp opened this issue Jul 12, 2019 · 0 comments · Fixed by #15001
Assignees

Comments

@reetp
Copy link

reetp commented Jul 12, 2019

Rocketchat version : open.rocket.chat latest develop - 1.3.x

Reference this original PR #13933

Just been trying to change the custom status in open.rocket.chat but can't seem to do it reliably.

Make a change, hit save, realise you made a typo, modify and save, and it stays the same. And you have no idea why.

This appears to be due to the time out being set to 60 seconds.

To check, set the status, wait for a minute, modify. It should now work.

Apparently @wreiske thinks this may be the problem and suggested "I would say once every 2 or 3 seconds to account for edits"

export const setStatusText = RateLimiter.limitFunction(_setStatusText, 1, 60000, {

I don't think you need to go much below 5. See how quick you can get from from Save, Click Edit, modify to Save.

[Note to self: As aside, you can't see your own status and forget you have set a custom one - ought to be another bug guess]

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 a pull request may close this issue.

2 participants