Commit b217774
authored
feat: pass --body-limit 40MB + require jss >=0.0.208 so large app installs fit (#80)
jspod spawns jss with no --body-limit, so it rode JSS's default cap.
That blocked installing apps with a large git history through a pod —
e.g. solid-chat/app's ~30MB pack (jss install does a full clone; JSS
git-receive rejects shallow pushes), which 413'd against the old 10MB
(and even the new 20MB) default.
- Pass --body-limit 40MB when spawning jss (overridable via
options.bodyLimit). 40MB clears the ~30MB pack with headroom without
an over-permissive memory-DoS surface.
- Require jss >=0.0.208 <0.0.211: --body-limit only actually reaches
Fastify from the CLI as of 0.0.208 (#562) — before that the flag was
dead wiring — and the range floats up to 0.0.210 without re-pinning.
Bump jspod 0.0.47 → 0.0.48.1 parent 0a3cbf0 commit b217774
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
249 | 257 | | |
250 | 258 | | |
251 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
0 commit comments