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
{{ message }}
Repository navigation
Commit 733f4e9
Browse filesBrowse the repository at this point in the historyBrowse files
perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round trips (#8621)
* perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round trips
Reused Mothership workbench calls made five E2B control-plane requests:
list, connect, getInfo + setTimeout on acquire (the set always fired), and
getInfo on release. Connect now asks for max(5 min, remaining, lease), the
handle records the deadline it requested, and acquisition/release skip the
provider while that lower bound covers the request. Final deadlines are
unchanged; unrequested deadlines are still read back.
* test(sandbox): model connect as setting the deadline so a dropped preserve is caught
0 commit comments