@koeroesi86/node-webserver 26.10.37922053636-master → 26.10.37932402544-master

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -113,7 +113,8 @@ on the thread that serves the requests. Lines of other code that write to the co
113
113
  A request is handed a worker of its worker file at once, also when all of them are busy: workers handle several requests at a time, and a request waits only when its file has no worker and no more can be started, because the limit for all
114
114
  workers (`limit`) is used up by other files. Those requests wait in line, the one that came first is served first, and are woken as soon as there is room (a request is finished and a worker of another file can make room, a worker stops),
115
115
  nothing polls. A request that has waited for `limitRequestTimeout` (5 seconds by default), or that finds `limitQueue` requests waiting already (1000 by default, 0 for no limit), is answered with 503 and `Retry-After: 1` at once,
116
- instead of piling up. `refused` in the metrics of the worker pool counts both.
116
+ instead of piling up. `refused` in the metrics of the worker pool counts both. A request whose client goes away while it waits leaves the line at once, without taking a worker
117
+ or delaying the ones behind it, and is counted as `abandoned`.
117
118
 
118
119
  ### Workers that crash
119
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koeroesi86/node-webserver",
3
- "version": "26.10.37922053636-master",
3
+ "version": "26.10.37932402544-master",
4
4
  "description": "A local Lambda implementation",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@koeroesi86/node-lambda-invoke": "26.10.37900442309-master",
33
- "@koeroesi86/node-worker-express": "26.10.37922053636-master",
32
+ "@koeroesi86/node-lambda-invoke": "26.10.37932402544-master",
33
+ "@koeroesi86/node-worker-express": "26.10.37932402544-master",
34
34
  "@types/express": "^4.17.21",
35
35
  "express": "^4.17.3",
36
36
  "find-free-port": "^2.0.0",
@@ -53,7 +53,7 @@
53
53
  "ts-jest": "^29.0.5",
54
54
  "typescript": "^5.9.3"
55
55
  },
56
- "gitHead": "a8967781804d2dd34e175db86a080ef29554e7ec",
56
+ "gitHead": "7a5eb8ec16c5fd69e5b7fdb0cf531850da0bd7b0",
57
57
  "scripts": {
58
58
  "build": "rimraf dist && tsc -p tsconfig.build.json",
59
59
  "test": "jest",