Skip to content

Commit

Permalink
fix: back to 5s
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert authored Oct 10, 2024
1 parent 3d8edc3 commit c1371f5
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 10 && echo "killing pid $child..." && kill -9 "$child"
sleep 5 && 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 c1371f5

Please sign in to comment.