hazelcast / hazelcast/hazelcast-python-client

Feature Request: Ability to control request timeout > 120 seconds

オープン
#116 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
Estimation: XL Priority: Low Source: Community Type: Enhancement
主要言語
Python
スター
116
フォーク
78
平均マージ
10日 22時間
マージ済み PR(30日)
1

説明

Currently, if any request takes longer than 120 seconds, the following exception gets raised:
> TimeoutError: Request timed out after 120 seconds.

This appears to be controlled by the `invocation.INVOCATION_TIMEOUT` constant and does not appear tunable. I see that the constructor for `Invocation` takes in a `timeout` parameter that defaults to that constant value, but as far as I can tell there's no way to get a timeout actually passed-in to the `Invocation` object since that's all handled under-the-hood when the client is configured.

I would love it if I could control the timeout on a per-request basis.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the invocation.INVOCATION_TIMEOUT constant and the Invocation constructor's timeout parameter, then trace how client configuration creates Invocation objects. Identify the request entry point where a per-request timeout could be supplied. Done means callers can control the timeout for an individual request rather than being limited to 120 seconds.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。