gridscale / gridscale/gridscale_api_client_python

Adjust request poll intervall for API rate limiting

Abierto
#6 2 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
5
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Currently the synchronous API client will poll asynchronous requests every 0.5s. This makes hitting the API rate limit quite likely once you introduce concurrency.

For the API client to not feel sluggish, the poll intervall likely shouldn't simply be increased to a few seconds. It could be dynamically increased to a max and/or be request type-dependent.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.