-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't workinggood-first-issuekeepLabel can be added as soon as we are sure the work on the issue is necessaryLabel can be added as soon as we are sure the work on the issue is necessary
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.
thotypous, tlhakhan and umenthum-ahead
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood-first-issuekeepLabel can be added as soon as we are sure the work on the issue is necessaryLabel can be added as soon as we are sure the work on the issue is necessary