First: This is not about whether rate-limiting is good or bad. This is not a misunderstanding of what the "Only 1 comment allowed per 5 seconds; timer reset." message means. This is not about whether @lerting multiple people is good, bad, or other. This has been misunderstood at least three times before; kindly read it and don't close it as a dupe unless there's a real dupe (besides the ones I just linked) that I missed in my search! Thanks.
Situation
I tried to leave a comment similar to the following:
@User: Stuff. @All: Things.
Naturally I got an error popup telling me I can't @notify multiple people. As noted above, this is expected. I quickly removed the second @
and tried to submit the comment again, resulting in:
Only 1 comment allowed per 5 seconds; timer reset.
This error is shown erroneously. The first version of the comment wasn't actually posted due to the error, so I am only posting one comment!
This also occurs when leaving a too-short comment (here's a second example). You are prevented from posting the appropriately lengthened version if you attempt to do so within 5 seconds of the original attempt. For further confirmation of this erroneous behavior see Ether's answer to another question. You can see from Jeff's comment on it that he misunderstood what Ether was saying. This is not the simplest bug so I don't blame him, but hopefully I am making it clear :).
As well, it occurs when you try to upvote a comment that was deleted in the time since you loaded the page and then go to upvote a different comment instead.
Rationale for Fixing
- You're confusing us by showing us nonsense error messages. "You're not allowed to post multiple comments in rapid succession" doesn't make sense when we're not posting multiple comments. As Lance notes in his answer, clarity is important.
- You're discouraging the quick correction of errors. As Lance notes in the comments this is a problem for touch-typists and other quick editors.
- This was obviously unintended; it's a bug and may have other undesired side-effects. The rate limiting code is being applied to a single solitary comment, which doesn't make sense; there's no second comment, thus no time difference between comments, thus no rate to be limited.
Edit:
;-)
@alert
in this comment.)