Azure / Azure/azure-documentdb-java

How to set idleConnectionTimeout to indefinite in connection policy.

未關閉
#136 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
51
分支
52
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

研究方向

從 Java SDK 的 ConnectionPolicy 類別和 idleConnectionTimeout 設定開始,然後檢查 DirectHttps 連線模式如何使用該原則。確認 60 秒值所控制的內容,以及是否支援無限期設定;記錄觀察到的行為和設定指南。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
databases
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。