[Dev] Process each deployer request in background
This commit is contained in:
parent
e31ef119eb
commit
d98f5f993b
|
@ -231,7 +231,7 @@ process_loop() (
|
||||||
log_info "Start listening unixsock with keep-open at '${deployer_sock}'."
|
log_info "Start listening unixsock with keep-open at '${deployer_sock}'."
|
||||||
while read -r request; do
|
while read -r request; do
|
||||||
log_info "Process new request '${request}'."
|
log_info "Process new request '${request}'."
|
||||||
process_request
|
process_request &
|
||||||
done < <(ncat --listen --keep-open --unixsock "${deployer_sock}")
|
done < <(ncat --listen --keep-open --unixsock "${deployer_sock}")
|
||||||
else
|
else
|
||||||
log_info "Start listening unixsock without keep-open at '${deployer_sock}'."
|
log_info "Start listening unixsock without keep-open at '${deployer_sock}'."
|
||||||
|
|
Loading…
Reference in New Issue