gridscale / gridscale/gridscale_api_client_python
Adjust request poll intervall for API rate limiting
未關閉
enhancement
- 主要語言
- Python
- 星號
- 5
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
評估
這個 Issue 還沒有評估資料。