File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
rust/kcl-lib/src/execution Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ RUST_BACKTRACE=1
14
14
PYO3_PYTHON = /usr/local/bin/python3
15
15
ZOO_HOST = https://api.$VITE_KITTYCAD_BASE_DOMAIN
16
16
# KITTYCAD_API_TOKEN=$VITE_KITTYCAD_API_TOKEN
17
+ # ZOO_ENGINE_POOL=pr-1234
Original file line number Diff line number Diff line change @@ -388,12 +388,13 @@ impl ExecutorContext {
388
388
/// Create a new default executor context.
389
389
#[ cfg( not( target_arch = "wasm32" ) ) ]
390
390
pub async fn new ( client : & kittycad:: Client , settings : ExecutorSettings ) -> Result < Self > {
391
+ let pool = std:: env:: var ( "ZOO_ENGINE_POOL" ) . ok ( ) ;
391
392
let ( ws, _headers) = client
392
393
. modeling ( )
393
394
. commands_ws (
394
395
None ,
395
396
None ,
396
- None ,
397
+ pool ,
397
398
if settings. enable_ssao {
398
399
Some ( kittycad:: types:: PostEffectType :: Ssao )
399
400
} else {
You can’t perform that action at this time.
0 commit comments