SetImportBundleMaxBytes overrides the default 2 GiB cap on a single workspace import bundle. Set to 0 to fall back to the default. Wired from PAD_IMPORT_BUNDLE_MAX_BYTES in cmd/pad/main.go so operators with workspaces over 2 GiB can opt in without recompiling. Larger caps trade memory headroom (one
(n int64)
| 1373 | // recompiling. Larger caps trade memory headroom (one blob in |
| 1374 | // flight at a time, ≤25 MiB) for a longer import wall-clock. |
| 1375 | func (s *Server) SetImportBundleMaxBytes(n int64) { |
| 1376 | s.importBundleMaxBytes = n |
| 1377 | } |
| 1378 | |
| 1379 | // SetImportArtifactMaxBytes overrides the default 1 MiB cap on a single |
| 1380 | // playbook/convention artifact import. Set to 0 to fall back to the |
no outgoing calls