From 3c10239327b7495550c091d0789d9019c7bdf5b8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 30 Aug 2015 15:21:24 +0100 Subject: 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. --- external/unbound/config.h.cmake.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'external/unbound') 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 -- cgit v1.2.3