universal-parcel-scraper 0.53.0-main.668 → 0.53.0-main.670
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,8 +14,8 @@ const MAX_BYTES = 2_000_000;
|
|
|
14
14
|
/** Opening a session has taken up to 75 seconds. */
|
|
15
15
|
const SESSION_OPEN_MS = 120_000;
|
|
16
16
|
/**
|
|
17
|
-
* The service accepts a session for at least
|
|
18
|
-
* one opens beside it, and replaces it once open.
|
|
17
|
+
* The service accepts a session for at least eight hours, one left idle for four too. From this
|
|
18
|
+
* age the next one opens beside it, and replaces it once open.
|
|
19
19
|
*/
|
|
20
20
|
const SESSION_RENEW_MS = 3 * 3_600_000;
|
|
21
21
|
/** A kept session that failed to open is tried again after this long. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-parcel-scraper",
|
|
3
|
-
"version": "0.53.0-main.
|
|
3
|
+
"version": "0.53.0-main.670",
|
|
4
4
|
"description": "Self-hosted parcel tracking: carrier detection, dedicated scrapers and optional universal providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|