Configure default timeout for all API calls
Los mantenedores suelen responder en 3 días
@yliaog ya está trabajando en esto.
Desde el 5/12/2022.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 7.7k
- Forks
- 3.5k
- Merge medio
- 3 d 4 h
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de kubernetes-client/python
-
kind/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
kubernetes-client/python#2280 · 16 comentarios · 9 reacciones ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 30/100
kubernetes-client/python#2720 ·
Los mantenedores suelen responder en 3 días
-
Release 1.37Quizá libre de nuevo @yliaog la tomó hace 36 días y no hay ningún pull request abierto. Abierto
kubernetes-client/python#2691 · 1 comentario · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
Growing library sizeAbiertohelp wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
kubernetes-client/python#2677 · 14 comentarios · 1 reacción ·
Los mantenedores suelen responder en 3 días
-
Add option to disable strict x509 verifcation in sync clientQuizá libre de nuevo @Vishwa0223 la tomó hace 40 días y no hay ningún pull request abierto. Abiertohelp wanted kind/feature
kubernetes-client/python#2602 · 6 comentarios · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de kubernetes-client/python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mikf/gallery-dl#9791 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
fossasia/eventyay#6151 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
P4: low tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
jeffknupp/association#318 ·
-
azure-cost bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoft/GitHub-Copilot-for-Azure#3330 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
raullenchai/Rapid-MLX#4097 ·
Los mantenedores suelen responder en 1 día