@plurnk/plurnk-execs-common 1.25.0 → 1.27.0

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/docs/sh.md +10 -2
  2. package/package.json +2 -2
package/docs/sh.md CHANGED
@@ -55,8 +55,16 @@ says why it was refused.
55
55
 
56
56
  ## Lifetime
57
57
 
58
- How long a command may run is the heading's `lifetime` metadata field, the
59
- service's (`env.md`); absent, the run ends with the loop.
58
+ The heading's `lifetime` metadata bounds the command's total runtime, not idle
59
+ time. This command is stopped after 30 seconds if it has not finished:
60
+
61
+ ```sh [{"lifetime": "30s"}]
62
+ npm test
63
+ ```
64
+
65
+ Expiry closes the stream with status 504. By contrast, `WAIT <30>` limits one
66
+ wait to 30 seconds without stopping the command. Without `lifetime`,
67
+ the command is loop-bound; see `env.md` for other lifetime values.
60
68
 
61
69
  ## Live input
62
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-execs-common",
3
- "version": "1.25.0",
3
+ "version": "1.27.0",
4
4
  "description": "Universal subprocess executor for plurnk-service's exec scheme — one package exposing the shell, Node.js, Python 3, and supported host interpreters.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -270,6 +270,6 @@
270
270
  "prepublishOnly": "npm audit --audit-level=moderate && npm test"
271
271
  },
272
272
  "peerDependencies": {
273
- "@plurnk/plurnk-execs": "^1.25.0"
273
+ "@plurnk/plurnk-execs": "^1.27.0"
274
274
  }
275
275
  }