diff options
| author | Francesco Colista <francesco.colista@gmail.com> | 2013-03-08 13:54:51 +0000 |
|---|---|---|
| committer | Francesco Colista <francesco.colista@gmail.com> | 2013-03-08 13:55:17 +0000 |
| commit | 34fedfa778a0df3632ccac2a9dc5cbd01f15ff07 (patch) | |
| tree | e8456632e61c042ca13c451cd9906b82be7d9be3 /testing/charybdis/avoid-fd-4096.patch | |
| parent | cb4713be9963d0414847d424dc81767fa31fb819 (diff) | |
| download | aports-34fedfa778a0df3632ccac2a9dc5cbd01f15ff07.tar.bz2 aports-34fedfa778a0df3632ccac2a9dc5cbd01f15ff07.tar.xz | |
testing/charybdis: patch to avoid limit of 4096 fd
Diffstat (limited to 'testing/charybdis/avoid-fd-4096.patch')
| -rw-r--r-- | testing/charybdis/avoid-fd-4096.patch | 13 |
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 |
