mlivirov / kaiten-desktop

Desktop client for Kaiten Task Manager
GNU Lesser General Public License v3.0
0 stars 0 forks source link

throttle api requests #5

Open mlivirov opened 2 months ago

mlivirov commented 2 months ago

kaiten api has 5 requests per second limit. need to add http interceptor that throttles requests.

mlivirov commented 2 months ago

okay I've added a naive implementation in order to avoid abusing api. current implementation doesn't use response headers and doesn't have burst remaining limit. so I will keep this issue opened.