Add ratelimit for high-bandwidth commands.
This commit is contained in:
parent
c25a890796
commit
e88a1f1b15
12 changed files with 187 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue