Skip to content

Commit a40c6dc

Browse files
committed
corectif executor bcasl
1 parent 2e55b9a commit a40c6dc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bcasl/executor.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,14 @@ def _resolve_reliability_options(config: dict[str, Any]) -> tuple[bool, bool]:
295295

296296
def _resolve_exec_options(
297297
config: dict[str, Any], default_sandbox: bool
298-
) -> bool:
298+
) -> tuple[bool, int]:
299299
try:
300300
opts = dict(config or {}).get("options", {}) if isinstance(config, dict) else {}
301301
except Exception:
302302
opts = {}
303-
return bool(opts.get("sandbox", default_sandbox))
303+
sandbox = bool(opts.get("sandbox", default_sandbox))
304+
parallelism = int(opts.get("plugin_parallelism", 0))
305+
return sandbox, parallelism
304306

305307

306308
def _build_dependency_graph(

0 commit comments

Comments
 (0)