Skip to content

Commit

Permalink
fix: back to 10s
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert authored Oct 10, 2024
1 parent dbab929 commit 1ae8d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/restart-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ do
echo 'starting process...'
"$@" &
child=$!
sleep 5 && echo "killing pid $child..." && kill -9 "$child"
sleep 10 && echo "killing pid $child..." && kill -9 "$child"
while kill -0 "$child" 2> /dev/null; do # wait for child to exit (kill -0 is falsy if pid is gone)
sleep 1
done
Expand Down

0 comments on commit 1ae8d2e

Please sign in to comment.