Open
Description
Describe the bug
safe_sleep.sh is built as while loop aiming to be safer than count on sleep or ping binaries. While loop the way function was implemented leads to 100% CPU usage without try another alternatives (Eg. Testing if sleep is available).
To Reproduce
Steps to reproduce the behavior:
- Start runner
- Wait
Expected behavior
A lesser CPU usage from runner while idle.
Actual behavior
Runner Version and Platform
Linux 2.300.2 running on Docker.