Skip to content

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.

Fix docs

Ondra Urban80cf4b07b57f
diff --git a/src/autoscaling/system_status.js b/src/autoscaling/system_status.js
index 1435e6f2e..81b78dedd 100644
--- a/src/autoscaling/system_status.js
+++ b/src/autoscaling/system_status.js
@@ -11,8 +11,8 @@ const DEFAULT_OPTIONS = {
};
/**
- * Provides a simple interface to reading system status from a Snapshotter
- * instance. It only exposes two functions `isOk()` and `hasBeenOkLately()`.
+ * Provides a simple interface to reading system status from a Snapshotter instance.
+ * It only exposes two functions `getCurrentStatus()` and `getHistoricalStatus()`.
* The system status is calculated using a weighted average of overloaded
* messages in the snapshots, with the weights being the time intervals
* between the snapshots. Each resource is calculated separately