Skip to content

Commit

Permalink
Use timeout in the SandboxGetTunnels request (#2176)
Browse files Browse the repository at this point in the history
This commit swaps out the `poll` variable for a `timeout` variable which
can be used to control the length of blocking for the SandboxGetTunnels
RPC.
  • Loading branch information
pawalt authored Aug 30, 2024
1 parent b1e3666 commit f6a3562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1795,8 +1795,8 @@ message SandboxGetTaskIdResponse {
}

message SandboxGetTunnelsRequest {
bool poll = 1;
string sandbox_id = 2;
string sandbox_id = 1;
float timeout = 2;
}

message SandboxGetTunnelsResponse {
Expand Down

0 comments on commit f6a3562

Please sign in to comment.