[Dev] Process each deployer request in background

This commit is contained in:
samuel 2023-05-04 01:27:32 +02:00
parent e31ef119eb
commit d98f5f993b
1 changed files with 1 additions and 1 deletions

View File

@ -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}'."