From: Timo Sirainen Date: Mon, 13 Jun 2016 17:16:14 +0000 (+0300) Subject: dict: Increased max number of pipelined requests from 5 to 1000. X-Git-Tag: 2.2.25.rc1~148 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6aed775268e17fda0a437e5da004c7b047fd4b17;p=thirdparty%2Fdovecot%2Fcore.git dict: Increased max number of pipelined requests from 5 to 1000. 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". --- diff --git a/src/dict/dict-connection.c b/src/dict/dict-connection.c index 226bf7fc88..4cbffc1d78 100644 --- a/src/dict/dict-connection.c +++ b/src/dict/dict-connection.c @@ -14,7 +14,7 @@ #include -#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;