[Make rate limiting penalties less severe clinton@unknownlamer.org**20081113091110 * The max rate limit penalty is now 20 instead of 5 making the bot more responsive without making it flood; this seems like a reasonable value but may need to be further tweaked * No longer unconditionally add `1' to penalty to decrease the likelihood of the queue being saturated and never getting further than popping the first message ] { hunk ./source/ServerQueue.C 28 +int ServerQueue::max_penalty = 20; + hunk ./source/ServerQueue.C 95 - while (!serverQueue.empty() && (penalty < 5)) + while (!serverQueue.empty() && (penalty < max_penalty)) hunk ./source/ServerQueue.C 98 - penalty += sqi->penalty + sqi->getLine().length()/100 + 1; + penalty += sqi->penalty + sqi->getLine().length()/100; hunk ./source/ServerQueue.H 61 + + static int max_penalty; }