Skip to content

Commit

Permalink
dict: Increased max number of pipelined requests from 5 to 1000.
Browse files Browse the repository at this point in the history
The client is supposed to be the one throttling the requests. We mainly
want to avoid accidental abuses. Using 1000 is hopefully "large enough"
without being "too large".
  • Loading branch information
sirainen committed Jun 14, 2016
1 parent 68df459 commit 6aed775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict/dict-connection.c
Expand Up @@ -14,7 +14,7 @@

#include <unistd.h>

#define DICT_CONN_MAX_PENDING_COMMANDS 5
#define DICT_CONN_MAX_PENDING_COMMANDS 1000

static struct dict_connection *dict_connections;
static unsigned int dict_connections_count = 0;
Expand Down

0 comments on commit 6aed775

Please sign in to comment.