@marineyachtradar/signalk-plugin 1.4.1 → 1.4.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.
- package/README.md +6 -6
- package/package.json +4 -2
- package/public/index.html +1 -0
package/README.md
CHANGED
|
@@ -97,12 +97,12 @@ While the upstream connection is unauthenticated or hasn't delivered navigation
|
|
|
97
97
|
|
|
98
98
|
The plugin sets sensible default resource caps so a runaway container can't take down Signal K:
|
|
99
99
|
|
|
100
|
-
| Setting
|
|
101
|
-
|
|
|
102
|
-
| `cpus`
|
|
103
|
-
| `memory`
|
|
104
|
-
| `memorySwap`
|
|
105
|
-
| `pidsLimit`
|
|
100
|
+
| Setting | Default | Why |
|
|
101
|
+
| ------------ | ------- | --------------------------------------------------------------------- |
|
|
102
|
+
| `cpus` | `2` | Mayara processing peaks ≈ 1 core; headroom for spikes and multi-radar |
|
|
103
|
+
| `memory` | `512m` | Hard memory cap, OOM-killed if exceeded |
|
|
104
|
+
| `memorySwap` | `512m` | = memory → swap disabled (recommended on Pi/eMMC) |
|
|
105
|
+
| `pidsLimit` | `200` | Bounds runaway thread leaks |
|
|
106
106
|
|
|
107
107
|
Tested on a Pi 5 8GB with a Garmin xHD2 at 24 NM range. If your setup needs different limits (e.g. multiple radars, larger range, weaker hardware), override per-field via signalk-container's plugin config under **Per-container resource overrides**:
|
|
108
108
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marineyachtradar/signalk-plugin",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "MaYaRa Radar - Connect SignalK to mayara-server",
|
|
5
5
|
"main": "plugin/index.js",
|
|
6
6
|
"signalk-plugin-enabled-by-default": true,
|
|
7
7
|
"scripts": {
|
|
8
|
-
"format": "prettier --write
|
|
8
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" && eslint --fix 'src/**/*.ts' 'test/**/*.ts' && npm run format:other",
|
|
9
|
+
"format:other": "prettier --write \"**/*.md\" \"*.{json,yml,yaml,mjs,js}\" \".github/**/*.{yml,yaml}\"",
|
|
10
|
+
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"**/*.md\" \"*.{json,yml,yaml,mjs,js}\" \".github/**/*.{yml,yaml}\"",
|
|
9
11
|
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
|
|
10
12
|
"build": "tsc && node build.js && webpack",
|
|
11
13
|
"build:config": "webpack",
|