mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
[add] analyze pools in parallel
This commit is contained in:
parent
8e5a83eede
commit
bd92d4b4f9
@ -717,8 +717,9 @@ POOL_NAMES_LIST=$(${S_PRINTF} '%s\n' "${PS_LIST[@]}" | $S_AWK '{print $NF}' | $S
|
||||
|
||||
#Update pending list with pools that are active and running
|
||||
while IFS= read -r POOL_NAME; do
|
||||
AnalyzePool "$POOL_NAME"
|
||||
AnalyzePool "$POOL_NAME" &
|
||||
done <<<"$POOL_NAMES_LIST"
|
||||
wait
|
||||
|
||||
if [[ -n $DEBUG_MODE ]]; then
|
||||
PrintDebug "Pending list generated:"
|
||||
|
Loading…
Reference in New Issue
Block a user