SandboxedConfig
Configuration for a sandboxed task executed via Monty.
Attributes
| Attribute | Type | Description |
|---|---|---|
| max_memory | int = 52428800 | The maximum amount of memory in bytes that the sandboxed task can use, which helps prevent out-of-memory errors and resource exhaustion. |
| max_stack_depth | int = 256 | The maximum depth of the call stack for the sandboxed task, preventing infinite recursion and stack overflow errors. |
| timeout_ms | int = 30000 | The maximum execution time in milliseconds for the sandboxed task, ensuring that long-running or hung tasks do not consume excessive resources. |
| type_check | bool = true | A boolean indicating whether type checking should be performed within the sandboxed task, which can help catch type-related errors during execution. |