diff options
author | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-12-04 17:42:45 +0100 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-12-11 14:20:16 +0100 |
commit | d32cc833d809a36f981e208d48ddfe70197ddbb9 (patch) | |
tree | 79f0228750e84dac15a8edabcbec206251602356 /daemon | |
parent | Merge remote-tracking branch 'origin/master' into defer-wip (diff) | |
download | knot-resolver-d32cc833d809a36f981e208d48ddfe70197ddbb9.tar.xz knot-resolver-d32cc833d809a36f981e208d48ddfe70197ddbb9.zip |
daemon/defer: increase request timeout to 50 ms
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/defer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |