[Dev] Process each runner request in background

This commit is contained in:
samuel 2023-05-04 02:20:25 +02:00
parent 6a2617a688
commit 8df10d8ad4
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ process_loop() (
log_info "Start listening unixsock with keep-open at '${runner_sock}'." log_info "Start listening unixsock with keep-open at '${runner_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 "${runner_sock}") done < <(ncat --listen --keep-open --unixsock "${runner_sock}")
else else
log_info "Start listening unixsock without keep-open at '${runner_sock}'." log_info "Start listening unixsock without keep-open at '${runner_sock}'."