From 1ab8e348b520fc06c55d3fc8e375743be6b0934d Mon Sep 17 00:00:00 2001 From: Nathan Wang Date: Fri, 17 Jan 2025 10:36:41 -0500 Subject: [PATCH] Update sandbox get task id proto --- modal_proto/api.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modal_proto/api.proto b/modal_proto/api.proto index 3c89a00d7..e9621667a 100644 --- a/modal_proto/api.proto +++ b/modal_proto/api.proto @@ -2242,7 +2242,7 @@ message SandboxGetLogsRequest { message SandboxGetTaskIdRequest { string sandbox_id = 1; - float timeout = 2; + optional float timeout = 2; // Legacy clients do not provide a timeout. New clients must always provide a timeout. bool wait_until_ready = 3; // If true, waits until the container's postStart hook has been run before returning. Useful for detecting init failures. }