max post deletions per minute - work well.
max post deletions per day - error
we have put for testing
More than 5 replies were deleted at an interval of 1 minute.
Who deleted is not an administrator or a moderator (trust_level_3)
The issue revolves around the max post deletions per day rate limit not functioning correctly in Discourse, while per minute limits work as expected. Stranik reported that a non-moderator user was able to delete more than the allowed 5 replies within a minute, despite the daily limit being set to 2. After two deletions, the system blocks further deletions, but the UI behavior is inconsistent: deleted posts sometimes reappear after page refresh, and error messages are misleading — showing “Wait 1 hour” instead of “24 hours”. techAPJ confirmed the bug was fixed in commit 2c971c4. Stranik acknowledged partial functionality, while techAPJ requested more details. Stranik clarified the UI confusion and inconsistent error messaging. techAPJ noted the UI issue is unrelated to the rate limit fix but agreed it needs improvement and added it to a long-term list.
max post deletions per minute - work well.
max post deletions per day - error
we have put for testing
More than 5 replies were deleted at an interval of 1 minute.
Who deleted is not an administrator or a moderator (trust_level_3)
Fixed in:
https://github.com/discourse/discourse/commit/2c971c41f6c15f39656c551421de4978422afcd0
Thanks for bringing this is in my notice! ![]()
The behavior is not quite perfect, but the main thing is that it works. Thank you!
May I know the details please?
The user created 5 responses in a row. And starts to remove them one by one. With a limit of 2. After 2 answers, the answer is not deleted. But the first time you press delete, the answer is hidden. But if you refresh the page, the answer will appear. If you click next to delete again, the message will appear: try to do this for 20 seconds, for example. There is no explicit inscription that you have run out of limit for today.
For example, I now pressed again. The message disappeared. But there was an inscription: You perform this action too often. Wait 1 hour before trying again. Not 24 hours. Maybe it’s not from here.
This topic was automatically closed after 22 hours. New replies are no longer allowed.
This is not related to the new post deletion rate limit settings but I agree that the client side behaviour can be improved. Added on my long term list.