Skip to content

fix(DatafileClient): add timeouts to UrlConnections #432

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 2 commits into from
Sep 19, 2022
Merged

Conversation

jaeopt
Copy link
Contributor

@jaeopt jaeopt commented Sep 16, 2022

Summary

Set timeouts to UrlConnections for DatafileClient and EventClient so they can release resources when connection failed (0 by default, which is no timeout).

Test plan

  • Add unit tests for UrlConnections timeout

Issues

@jaeopt jaeopt requested a review from a team as a code owner September 16, 2022 17:27
@jaeopt jaeopt closed this Sep 16, 2022
@jaeopt jaeopt reopened this Sep 16, 2022
@jaeopt jaeopt changed the title Jae/fssdk 8568 fix(DatafileClient): add timeouts to UrlConnections Sep 16, 2022
@jaeopt jaeopt removed their assignment Sep 16, 2022
Copy link
Contributor

@msohailhussain msohailhussain left a comment

Choose a reason for hiding this comment

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

lgtm

@jaeopt jaeopt merged commit f5a600a into master Sep 19, 2022
@jaeopt jaeopt deleted the jae/FSSDK-8568 branch September 19, 2022 16:44
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