appmesh 3.2.1 → 3.2.2

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/package.json +1 -1
  2. package/src/appmesh.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appmesh",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "JavaScript SDK for App Mesh (https://github.com/laoshanxi/app-mesh)",
5
5
  "main": "./src/appmesh.js",
6
6
  "module": "./dist/appmesh.esm.js",
package/src/appmesh.js CHANGED
@@ -971,7 +971,7 @@ class AppMeshClient {
971
971
  * env: {},
972
972
  * secret_env: {},
973
973
  * pid: null,
974
- * resource_limit: { cpu_shares: null, cpu: null, memory_mb: null, memory_virt_mb: null }, // cpu = fractional cores (NanoCPUs)
974
+ * resource_limit: { cpu_shares: 1024, cpu: 1.5, memory_mb: 512, memory_virt_mb: 512 }, // cpu = fractional cores; omit unset limits — the daemon treats explicit null/0 as "specified"
975
975
  * behavior: { exit: "standby", exit_code_actions: { "0": "keepalive" } }
976
976
  * };
977
977
  * await client.addApp("ping", appConfig);