Skip to content

Custom User Status slow to update #14979

@reetp

Description

@reetp

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]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions