Skip to content

Commit 83be166

Browse files
committed
Clarify sandbox archive limits docs
1 parent 2f7364a commit 83be166

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/sandbox/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ These options only matter when the runner is creating a fresh sandbox session:
481481

482482
`concurrency_limits` controls how much sandbox materialization work can run in parallel. Use `SandboxConcurrencyLimits(manifest_entries=..., local_dir_files=...)` when large manifests or local directory copies need tighter resource control. Set either value to `None` to disable that specific limit.
483483

484-
`archive_limits` controls SDK-side resource checks for archive extraction. Use `SandboxArchiveLimits(max_input_bytes=..., max_extracted_bytes=..., max_members=...)` when archives need tighter resource control. Set `archive_limits=None` to keep the default behavior with no SDK archive resource limits, or set an individual value to `None` to disable that specific limit.
484+
`archive_limits` controls SDK-side resource checks for archive extraction. Set `archive_limits=SandboxArchiveLimits()` to enable the SDK default thresholds, or pass explicit values such as `SandboxArchiveLimits(max_input_bytes=..., max_extracted_bytes=..., max_members=...)` when archives need tighter resource control. Leave `archive_limits=None` to keep the default behavior with no SDK archive resource limits, or set an individual field to `None` to disable only that limit.
485485

486486
A few implications are worth keeping in mind:
487487

0 commit comments

Comments
 (0)