Commit 961a70a0 authored by Marek Vavrusa's avatar Marek Vavrusa

daemon/worker: updated doc, worker.timeout metric

parent a40884f9
......@@ -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:
......
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment