8000 Add request timeouts to prevent code freezes by jvstme · Pull Request #1140 · dstackai/dstack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add request timeouts to prevent code freezes #1140

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

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

jvstme
Copy link
Collaborator
@jvstme jvstme commented Apr 16, 2024
  • Enable the ruff rule to prevent using requests without a timeout. The rule doesn't catch all the cases, but it's a best effort.
  • Add missing timeouts where I am pretty confident about them.
  • Leave TODOs where it would take me too much time to test and decide what the adequate timeout is.

- Enable the ruff rule to prevent using requests
  without a timeout. The rule doesn't catch all
  the cases, but it's a best effort.
- Add missing timeouts where I am pretty confident
  about them.
- Leave TODOs where it would take me too much time
  to test and decide what the adequate timeout is.
@jvstme jvstme requested a review from TheBits April 16, 2024 06:55
jvstme and others added 2 commits April 17, 2024 10:08
Co-authored-by: Sergey Mezentsev <sergeyme@dstack.ai>
@jvstme jvstme merged commit 1f6940b into master Apr 17, 2024
15 checks passed
@jvstme jvstme deleted the add_missing_request_timeouts branch April 17, 2024 10:22
Bihan pushed a commit to SMTM-Capital/dstack that referenced this pull request Apr 30, 2024
* Add request timeouts to prevent code freezes

- Enable the ruff rule to prevent using requests
  without a timeout. The rule doesn't catch all
  the cases, but it's a best effort.
- Add missing timeouts where I am pretty confident
  about them.
- Leave TODOs where it would take me too much time
  to test and decide what the adequate timeout is.
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
0