Add ratelimit for high-bandwidth commands.

This commit is contained in:
Keith Buck 2012-02-18 03:54:44 +00:00
parent c25a890796
commit e88a1f1b15
12 changed files with 187 additions and 0 deletions

View file

@ -67,6 +67,7 @@ struct ServerStatistics
unsigned int is_ssuc; /* successful sasl authentications */
unsigned int is_sbad; /* failed sasl authentications */
unsigned int is_tgch; /* messages blocked due to target change */
unsigned int is_rl; /* commands blocked due to ratelimit */
};
extern struct ServerStatistics ServerStats;