Make rate limiting penalties less severe
authorclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 09:11:10 +0000 (09:11 +0000)
committerclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 09:11:10 +0000 (09:11 +0000)
commit0b0626181b08bc06652fa551bfc8cd277c927f11
tree9865cb92b83937021e2c002fb0f03a4bd0dd2e62
parentcd5342f581c590e924deb935bfd374c925b8882d
Make rate limiting penalties less severe

* 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
source/ServerQueue.C
source/ServerQueue.H