request.headers is set by @B4nan in https://github.com/apify/apify-js/pull/1281This release should help with the infamous 0 concurrency bug. The problem is probably still there, but should be much less common. The main difference is that we now use shorter timeouts for API calls from RequestQueue.
Full Changelog: https://github.com/apify/apify-js/compare/v2.2.1...v2.2.2
Fetched April 11, 2026