aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-30 15:21:24 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-30 15:21:24 +0100
commit3c10239327b7495550c091d0789d9019c7bdf5b8 (patch)
tree7e901c5f21716f2724d63870a7994248a4a53340
parentdns_utils: remove unnecessary string conversion (diff)
downloadmonero-3c10239327b7495550c091d0789d9019c7bdf5b8.tar.xz
unbound: use the mini event fallback implementation
Using libevent seems to have high peaks of file descriptor use, which can cause failure to create fds in other parts of bitmonerod. The fallback implementation seems to run fine in a significantly tighter file descriptor limit.
-rw-r--r--external/unbound/config.h.cmake.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/unbound/config.h.cmake.in b/external/unbound/config.h.cmake.in
index d9bfebf33..377bcd97f 100644
--- a/external/unbound/config.h.cmake.in
+++ b/external/unbound/config.h.cmake.in
@@ -575,7 +575,8 @@
#cmakedefine USE_GOST
/* Define if you want to use internal select based events */
-#cmakedefine USE_MINI_EVENT
+/* #cmakedefine USE_MINI_EVENT */
+#define USE_MINI_EVENT 1
/* Define this to enable SHA256 and SHA512 support. */
#cmakedefine USE_SHA2