]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dict: Increased max number of pipelined requests from 5 to 1000.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 13 Jun 2016 17:16:14 +0000 (20:16 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 14 Jun 2016 09:34:04 +0000 (12:34 +0300)
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".

src/dict/dict-connection.c

index 226bf7fc8880aa9fee2aa6c89a8806c293a1836f..4cbffc1d7871c7bbe173260ab64791f9ff852315 100644 (file)
@@ -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;