Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

If you try to vote on two different comments within 5 seconds of each other, it shows the error message:

You may only submit a comment vote every 5 seconds.

So I checked to see if this was actually the true time, and to my horror, it still shows this message even after 5.2 seconds have passed!

I tested it by running this Javascript code in my browser's console

$(".comment-up")[0].id = "first";
$(".comment-up")[1].id = "second";
var t = new Date();
var snd = $("#second");
setTimeout(function() {
    var ivl = setInterval(function() {
        nt = new Date();
        console.log(nt - t);;
        if (nt - t > 6000) {
    }, 50);
}, 100);

And then I ran this test over several threads of comments, and viewed the console logs. The outputs all looked basically like this

LOG: 4925 
LOG: 4991 
LOG: 5053 
LOG: 5092 
LOG: 5127 
LOG: 5186 
LOG: 5231 
LOG: 5275 
LOG: 5337 
LOG: 7880 
LOG: end 

This log clearly indicates that even when the comment vote button was clicked 5275 milliseconds after the first one, it still showed the 5 second error message.

share|improve this question

closed as not constructive by Cody Gray, Toon Krijthe, balpha Apr 13 '12 at 6:28

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

And it isn't April fools for almost another year. – Oded Apr 12 '12 at 15:06
@Oded But this isn't about April Fools; it's actually true, the system actually won't let you vote on comments even after more than 5 seconds have passed. – Peter Olson Apr 12 '12 at 15:08
Oh my god. Please don't tell me this is true? The horror, the HORROR. – Bart Apr 12 '12 at 15:08
Yes, but concentrating on the 275 ms as an actual problem reads like a joke to me. Really? This is an issue for you? Can't wait for an extra second? – Oded Apr 12 '12 at 15:09

Network latency is probably to blame. The code is pretty straight-forward.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .