Skip to content

Commit 4956f9a

Browse files
author
Lukáš Ondráček
committed
daemon/defer: improve doc
1 parent d831b7e commit 4956f9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/user/config-defer.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ If there is not enough time to process all the requests, the lowest priority one
1111
It also allows setting a hard timeout on a continuous computation on a single request.
1212

1313
The time measurements are taken into account only for TCP-based queries (including DoT and DoH),
14+
except for hard timeout which is applied for both,
1415
as the source address of plain UDP can be forged.
1516
We aim to spend half of the time for UDP without prioritization
1617
and half of the time for non-UDP with prioritization,
@@ -60,7 +61,7 @@ The limits can be adjusted for different packet origins using :option:`price-fac
6061

6162
It is based on scheduling a SIGALRM to be delivered after the timeout (or up to 1s later),
6263
which then interrupts the computation.
63-
After the interrupt the priority of the request's origin is decreased according to the duration,
64+
After interrupting the priority of the request's origin is decreased according to the duration (if non-UDP),
6465
the kresd process is terminated (dropping all pending, but probably already timeouted, requests)
6566
and started again by manager.
6667
To keep the data with measurements and priorities alive during restart,

0 commit comments

Comments
 (0)