Configure default timeout for all API calls
メンテナーはふだん 3 日以内に返信
@yliaog がすでに取り組んでいます。
2022年12月5日 から。
評価
この issue はまだ評価されていません。
説明
What is the feature and why do you need it:
All API calls done through this client today goes through urllib3, where the timeout is default to set to None, this means infinite timeout and is a well known pitfall with urllib3. Lost connection attempts can get stuck waiting forever, with no retries being done to reestablish the connection.
Quoting the requests-documentation which uses urllib3 under the hood:
Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely:
There is a _request_timeout kwargs argument that can be set on each api-call, but that is both tedious, easy to forget and not type-checked due to use of kwargs-dictionarly.
Describe the solution you'd like to see:
Similar to how retries is configured, Configuration should accept a timeout-argument, this can be forwarded into urllib3s poolmanager where it uses this timeout for all operations where an explicit timeout is not provided.
- 主要言語
- Python
- スター
- 7.7k
- フォーク
- 3.5k
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kubernetes-client/python のほかの issue
-
getheaders is deprecated in urllib3 >= 2.0.0再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンkind/bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
kubernetes-client/python#2280 · コメント 16 件 · リアクション 9 件 ·
メンテナーはふだん 3 日以内に返信
-
Security: pin oauthlib>=4.0.0 (CVE-2026-49264, CVE-2026-49265)対応中かも @friedrichwilken が 5 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 30/100
kubernetes-client/python#2720 ·
メンテナーはふだん 3 日以内に返信
-
Release 1.37再び着手できるかも @yliaog が 39 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
kubernetes-client/python#2691 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Growing library sizeオープンhelp wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kubernetes-client/python#2677 · コメント 14 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Add option to disable strict x509 verifcation in sync client対応中かも @Vishwa0223 が 43 日前に担当しました。 オープンhelp wanted kind/feature
kubernetes-client/python#2602 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
kubernetes-client/python の issue をすべて見る
似ている issue
-
defect from-review v0.9.2
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
khuisman/mcp-gee-sweet#926 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 84/100
EtanHey/brainlayer#1164 ·
メンテナーはふだん 1 日以内に返信
-
bug security
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
yunaremaia/vibeguard#141 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PrismorSec/prismor#599 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信