Skip to content
Snippets Groups Projects
Verified Commit 4d6bf767 authored by Lukas Jezek's avatar Lukas Jezek Committed by Tomas Krizek
Browse files

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
parent 43b40577
Branches
Tags
1 merge request!1000Reimplement map()
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