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
increase default maxEventLoopOverloadedRatio to 0.6, fix default values in docs (#882)
Andrey Bykov171011603d73
diff --git a/src/autoscaling/system_status.js b/src/autoscaling/system_status.jsindex 895336440..e1d82f94a 100644--- a/src/autoscaling/system_status.js+++ b/src/autoscaling/system_status.js@@ -23,13 +23,13 @@ import { weightedAvg } from '../utils';* @property {number} [maxMemoryOverloadedRatio=0.2]* Sets the maximum ratio of overloaded snapshots in a memory sample.* If the sample exceeds this ratio, the system will be overloaded.- * @property {number} [maxEventLoopOverloadedRatio=0.2]+ * @property {number} [maxEventLoopOverloadedRatio=0.6]* Sets the maximum ratio of overloaded snapshots in an event loop sample.* If the sample exceeds this ratio, the system will be overloaded.* @property {number} [maxCpuOverloadedRatio=0.4]* Sets the maximum ratio of overloaded snapshots in a CPU sample.* If the sample exceeds this ratio, the system will be overloaded.- * @property {number} [maxClientOverloadedRatio=0.2]+ * @property {number} [maxClientOverloadedRatio=0.3]* Sets the maximum ratio of overloaded snapshots in a Client sample.* If the sample exceeds this ratio, the system will be overloaded.* @property {Snapshotter} [snapshotter]@@ -74,7 +74,7 @@ class SystemStatus {const {currentHistorySecs = 5,maxMemoryOverloadedRatio = 0.2,- maxEventLoopOverloadedRatio = 0.4,+ maxEventLoopOverloadedRatio = 0.6,maxCpuOverloadedRatio = 0.4,maxClientOverloadedRatio = 0.3,snapshotter,