You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
ValentaTomas
changed the title
Move start command handling in Python SDK to a thread
[E2B-438] Move start command handling in Python SDK to a thread
Dec 8, 2023
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
The text was updated successfully, but these errors were encountered: