[go: up one dir, main page]

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

feat: Make writeTimeout configurable (similar to readTimeout) #900

Merged
merged 3 commits into from
May 15, 2024

Conversation

TheRittler
Copy link
Contributor

Solves #850

Copy link
google-cla bot commented Jan 10, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@lahirumaramba lahirumaramba self-requested a review January 16, 2024 19:26
@lahirumaramba lahirumaramba self-assigned this Jan 16, 2024
Copy link
Member
@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the contribution!

Copy link
Contributor
@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

LG with a nit, thanks!

@@ -207,6 +210,16 @@ public int getReadTimeout() {
return readTimeout;
}

/**
* Returns the write timeout in milliseconds, which is applied to outgoing REST calls
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is a case for "that" instead of which, let's just rephrase to something like:

"Returns the write timeout applied to outgoing REST calls in milliseconds."

If you think we can go ahead and assume "by the SDK."

@lahirumaramba lahirumaramba changed the title Make writeTimeout configurable (similar to readTimeout) fix: Make writeTimeout configurable (similar to readTimeout) May 15, 2024
@lahirumaramba lahirumaramba merged commit ebd86a5 into firebase:master May 15, 2024
6 checks passed
lahirumaramba added a commit that referenced this pull request May 15, 2024
Address TW reviews in #900
lahirumaramba added a commit that referenced this pull request May 16, 2024
Address TW reviews in #900
@lahirumaramba lahirumaramba changed the title fix: Make writeTimeout configurable (similar to readTimeout) feat: Make writeTimeout configurable (similar to readTimeout) May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HttpRequest with 0 write timeout may make program hangs
4 participants