gridscale / gridscale/gridscale_api_client_python
Adjust request poll intervall for API rate limiting
Đang mở
enhancement
- Ngôn ngữ chính
- Python
- Star
- 5
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.