]> git.ipfire.org Git - thirdparty/unbound.git/commit
stats: add counter for timed out queries
authorVadim Fedorenko <vadfed@meta.com>
Mon, 17 Apr 2023 14:02:13 +0000 (07:02 -0700)
committerVadim Fedorenko <vadfed@meta.com>
Wed, 26 Apr 2023 10:27:25 +0000 (03:27 -0700)
commite577ab105e9741d861669827b743c3fbb854c5d2
tree76dd6e5aefb7b35f1a32f4272fc61e82e1cebf46
parent04540f82e56283c54c4cc169158a14b4d9c0de61
stats: add counter for timed out queries

Add counter `num_queries_timed_out` meaning queries that were sitting in the
socket queue and waiting to being processed too long. There is no reason
to process such queries, so let's drop it in the very beginning of the
pipeline.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
daemon/remote.c
daemon/stats.c
daemon/worker.c
libunbound/unbound.h
smallapp/unbound-control.c