From d32cc833d809a36f981e208d48ddfe70197ddbb9 Mon Sep 17 00:00:00 2001 From: Lukáš Ondráček Date: Wed, 4 Dec 2024 17:42:45 +0100 Subject: daemon/defer: increase request timeout to 50 ms --- daemon/defer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon') diff --git a/daemon/defer.c b/daemon/defer.c index 0f851cc1..df2566be 100644 --- a/daemon/defer.c +++ b/daemon/defer.c @@ -39,7 +39,7 @@ // DoH: 2.5 ms // uncached resolving: ~10 ms or more -#define REQ_TIMEOUT 20000000 // ns (THREAD_CPUTIME), older deferred queries are dropped +#define REQ_TIMEOUT 50000000 // ns (THREAD_CPUTIME), older deferred queries are dropped #define IDLE_TIMEOUT 1000000 // ns (THREAD_CPUTIME); if exceeded, continue processing after next poll phase #define PHASE_UDP_TIMEOUT 400000 // ns (THREAD_CPUTIME); switch between udp, non-udp phases #define PHASE_NON_UDP_TIMEOUT 400000 // ns (THREAD_CPUTIME); after timeout or emptying queue -- cgit v1.2.3