diff --git a/daemon/README.rst b/daemon/README.rst index 3932ebb7b0372b3ee9116d607a0dd5f20885228e..5f408a228f506429a41481e4594a7993e3254a6e 100644 --- a/daemon/README.rst +++ b/daemon/README.rst @@ -736,7 +736,10 @@ specified worker count and process rank. * ``tcp`` - number of outbound queries over TCP * ``ipv6`` - number of outbound queries over IPv6 * ``ipv4`` - number of outbound queries over IPv4 + * ``timeout`` - number of timeouted outbound queries * ``concurrent`` - number of concurrent queries at the moment + * ``queries`` - number of inbound queries + * ``dropped`` - number of dropped inbound queries Example: diff --git a/daemon/worker.c b/daemon/worker.c index b541b1eee70a811166a56f1879336b5e0a9b89a1..368e1d84195d5ebd7ca0acab2a3112658521d6dc 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -352,7 +352,7 @@ static void on_timeout(uv_timer_t *req) #endif if (!uv_is_closing(handle)) { struct worker_ctx *worker = task->worker; - worker->stats.queries += 1; + worker->stats.timeout += 1; qr_task_step(task, NULL, NULL); } }