gitleaks-action icon indicating copy to clipboard operation
gitleaks-action copied to clipboard

Delay due to bug in node20 runtime

Open dmelikhov opened this issue 6 months ago • 0 comments

Node 20 has changed keepAlive to be true by default:

Starting with this release, Node.js sets keepAlive to true by default. This means that any outgoing HTTP(s) connection will automatically use HTTP 1.1 Keep-Alive.

This has had an impact on many GitHub Actions including this one, making it much slower.

Scan is usually completed in under a second, while the action takes 2+ minutes to finish: image

2:56PM INF scan completed in 61.1ms
2:56PM INF no leaks found

Please see related issues and possible workarounds: https://github.com/nodejs/node/issues/47228 https://github.com/actions/setup-node/issues/878 https://github.com/ruby/setup-ruby/issues/543

dmelikhov avatar Aug 02 '24 16:08 dmelikhov