Reclaim space from the client querybuf if needed.

This commit is contained in:
antirez
2012-03-14 15:32:30 +01:00
parent 739803c064
commit ae22bf1ef6
4 changed files with 33 additions and 3 deletions

View File

@ -323,6 +323,7 @@ typedef struct redisClient {
redisDb *db;
int dictid;
sds querybuf;
size_t querybuf_peak; /* Recent (100ms or more) peak of querybuf size */
int argc;
robj **argv;
struct redisCommand *cmd, *lastcmd;