Azure / Azure/azure-documentdb-java

How to set idleConnectionTimeout to indefinite in connection policy.

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
51
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Hi

I am seeing that the default to idleConnectionTimeout in ConnectionPolicy class is set to 60 seconds, but even after this interval i am able to interact with cosmos db . What does it depend on then? How can i set this value to indefinite just to be sure, i require an always established connection.

I am using DirectHttps as the connection mode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.