Closed sehnryr closed 3 years ago
This seems like a reasonable change. It appears that timeout
is part of the coreutils, so there are no additional dependencies -- nice.
I don't have access to my test server at the moment (in the middle of a big move and am currently living in a hotel room), so I can't test this. If we can get an ack from @zanix or @Roflicide, I would be happy to merge this.
Thanks for testing @zanix
replacing
sleep 1
with a while loop that checks if thequery.out
is empty or not with a timeout of 1 second