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

RavenDB-14558 set PooledConnectionLifetime in SocketsHttpHandler to 10 minutes #10127

Closed
wants to merge 1 commit into from

Conversation

ppekrol
Copy link
Member

@ppekrol ppekrol commented Jan 31, 2020

No description provided.

#if NETCOREAPP
if (_getSocketsHttpHandler?.GetValue(httpMessageHandler) is SocketsHttpHandler socketsHttpHandler && socketsHttpHandler != null)
{
socketsHttpHandler.PooledConnectionLifetime = TimeSpan.FromMinutes(10);
Copy link
Member Author

Choose a reason for hiding this comment

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

Should this be configurable via Conventions (NETCOREAPP only)? What should be the default value?

@karmeli87
Copy link
Contributor

If I upload/download a backup that takes more than 10 min, the connection will be closed?

@ppekrol
Copy link
Member Author

ppekrol commented Feb 1, 2020

If I understood this dotnet/runtime#18348 (comment) correctly then it should not happen.

@ppekrol ppekrol closed this Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants