summaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorLukáš Ježek <lukas.jezek@nic.cz>2020-04-27 14:00:17 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2020-10-26 14:25:12 +0100
commit4d6bf767a273f985f24e86adaf04680e6ce2cdf2 (patch)
tree873c3217224ad7aa72cfa3b6c2aa2f462ac675ec /.luacheckrc
parentMerge branch '538-lower-default-edns-buffer-size-to-1232' into 'master' (diff)
downloadknot-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--.luacheckrc1
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',