The Python SDK is sync. We are starting process during Sandbox opening that forwards logs from the start command (this process is called even when there is no start command because we don't know that beforehand) by calling .process.start in the main thread. This blocks the thread for a short time.
We can move this call to a separate thread to make the sandbox opening quicker.
Fixing this would improve the sandbox startup time from Python SDK.
The Python SDK is sync. We are starting process during Sandbox opening that forwards logs from the start command (this process is called even when there is no start command because we don't know that beforehand) by calling
.process.start
in the main thread. This blocks the thread for a short time. We can move this call to a separate thread to make the sandbox opening quicker.Fixing this would improve the sandbox startup time from Python SDK.
From SyncLinear.com | E2B-438