Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
fix: prune CPU snapshots locally (#1313)
Martin Adámek03b4521a59b1
diff --git a/src/autoscaling/snapshotter.js b/src/autoscaling/snapshotter.jsindex f24c54b4a..0418eb440 100644--- a/src/autoscaling/snapshotter.js+++ b/src/autoscaling/snapshotter.js@@ -367,7 +367,7 @@ class Snapshotter {*/_snapshotCpuOnLocal(intervalCallback) {const now = new Date();- this._pruneSnapshots(this.eventLoopSnapshots, now);+ this._pruneSnapshots(this.cpuSnapshots, now);const ticks = this._getCurrentCpuTicks();const snapshot = {