logoalt Hacker News

dpkirchnertoday at 5:05 AM1 replyview on HN

I must be missing something huge here, or maybe it's the wine -- how is the code in PR 3157 (referenced in a later comment) a proper fix?

https://github.com/actions/runner/pull/3157/files

Is : doing something unusual in GH actions?


Replies

Veservtoday at 5:09 AM

The original loop is:

while (time() != timeout) {;}

The fixed loop is:

while (time() < timeout) {;}

show 1 reply