Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use timeout in the SandboxGetTunnels request #2176

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

pawalt
Copy link
Member

@pawalt pawalt commented Aug 30, 2024

Describe your changes

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.

Backward/forward compatibility checks

Check these boxes or delete any item (or this section) if not relevant for this PR.

  • [ ] Client+Server: this change is compatible with old servers
  • [ ] Client forward compatibility: this change ensures client can accept data intended for later versions of itself

This change is not backwards compatible, but this is fine as nothing is using this data.


Changelog

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.
@pawalt
Copy link
Member Author

pawalt commented Aug 30, 2024

@prbot approve

Copy link

@modal-pr-review-automation modal-pr-review-automation bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍. @thundergolfer will follow-up review this.

@pawalt pawalt merged commit f6a3562 into main Aug 30, 2024
23 checks passed
@pawalt pawalt deleted the pawalt/timeout_proto branch August 30, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants