diff options
author | Lukáš Ježek <lukas.jezek@nic.cz> | 2020-04-27 14:00:17 +0200 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2020-10-26 14:25:12 +0100 |
commit | 4d6bf767a273f985f24e86adaf04680e6ce2cdf2 (patch) | |
tree | 873c3217224ad7aa72cfa3b6c2aa2f462ac675ec /.luacheckrc | |
parent | Merge branch '538-lower-default-edns-buffer-size-to-1232' into 'master' (diff) | |
download | knot-resolver-4d6bf767a273f985f24e86adaf04680e6ce2cdf2.tar.xz knot-resolver-4d6bf767a273f985f24e86adaf04680e6ce2cdf2.zip |
map: use control sockets instead of pipe from parent process
This change allows map() to work with systemd integration.
As a bonus the new client implementation is based on Lua cqueues
allows caller to wrap map() in worker.corroutine() and get
asynchronous execution/avoid blocking main loop.
Currently socket communication does not employ timeouts so a hang
instance will lead to hang map() call. This does not affect query
processing _if_ map() is being run in worker.corroutine.
Fixes: #554
Fixes: #620
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc index 7ff62248..0cf0b884 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,6 +2,7 @@ std = 'luajit' new_read_globals = { 'cache', + 'eval_cmd', 'event', 'help', '_hint_root_file', |