mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 12:36:31 +00:00
Client output buffer limits: configuration of parameters for the different classes of clients implemented.
This commit is contained in:
@ -378,8 +378,8 @@ typedef struct zset {
|
||||
} zset;
|
||||
|
||||
typedef struct clientBufferLimitsConfig {
|
||||
unsigned long hard_limit_bytes;
|
||||
unsigned long soft_limit_bytes;
|
||||
unsigned long long hard_limit_bytes;
|
||||
unsigned long long soft_limit_bytes;
|
||||
time_t soft_limit_seconds;
|
||||
} clientBufferLimitsConfig;
|
||||
|
||||
@ -805,6 +805,8 @@ void rewriteClientCommandArgument(redisClient *c, int i, robj *newval);
|
||||
unsigned long getClientOutputBufferMemoryUsage(redisClient *c);
|
||||
void freeClientsInAsyncFreeQueue(void);
|
||||
void asyncCloseClientOnOutputBufferLimitReached(redisClient *c);
|
||||
int getClientLimitClassByName(char *name);
|
||||
char *getClientLimitClassName(int class);
|
||||
|
||||
#ifdef __GNUC__
|
||||
void addReplyErrorFormat(redisClient *c, const char *fmt, ...)
|
||||
|
Reference in New Issue
Block a user