summaryrefslogtreecommitdiffstats
path: root/testing/charybdis/avoid-fd-4096.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/charybdis/avoid-fd-4096.patch')
-rw-r--r--testing/charybdis/avoid-fd-4096.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/charybdis/avoid-fd-4096.patch b/testing/charybdis/avoid-fd-4096.patch
new file mode 100644
index 0000000000..8649849854
--- /dev/null
+++ b/testing/charybdis/avoid-fd-4096.patch
@@ -0,0 +1,13 @@
+diff --git a/include/hash.h b/include/hash.h
+index 6dc2d4e..a103241 100644
+--- a/include/hash.h
++++ b/include/hash.h
+@@ -46,7 +46,7 @@ extern struct Dictionary *nd_dict;
+ #define U_MAX 131072 /* 2^17 */
+
+ /* Client fd hash table size, used in hash.c */
+-#define CLI_FD_MAX 4096
++#define CLI_FD_MAX 16384
+
+ /* Channel hash table size, hash.c/s_debug.c */
+ #define CH_MAX_BITS 16