You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing more than 100 devices using the CLI tool is restricted by rate limiting. It would be useful for a user to be able to import a larger number of devices without splitting the import file into smaller ones and processing each file separately.
Current Situation
When trying to import a large number of end devices from the CLI tool, rate limiting restricts this at 100 devices:
error:pkg/ratelimit:rate_limit_exceeded (rate limit of `100` accesses per minute exceeded for resource `grpc:method:/ttn.lorawan.v3.DeviceRepository/GetTemplate::token:E5MPAAJ5S3PHGJREBBPOPJRHLEPEUDKHR2CEIHI`)
rate=100
Why do we need this? Who uses it, and when?
This is feature would be used by users when importing a large number of end devices into The Things Stack. It simplifies the process of importing end devices.
Proposed Implementation
Add a pause & retry for the CLI tool when a rate limiting error is received.
Contributing
I can help by doing more research.
I can help by implementing the feature after the proposal above is approved.
I can help by testing the feature before it's released.
Importing more than 100 devices using the CLI tool is restricted by rate limiting
100 is a magic number set on TTS Cloud/Sandbox clusters and is subject to change. Indeed as you mentioned in the issue, this should not consider the number of requests but backoff based on the HTTP rate-limitd (429) response.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Importing more than 100 devices using the CLI tool is restricted by rate limiting. It would be useful for a user to be able to import a larger number of devices without splitting the import file into smaller ones and processing each file separately.
Current Situation
When trying to import a large number of end devices from the CLI tool, rate limiting restricts this at 100 devices:
Why do we need this? Who uses it, and when?
This is feature would be used by users when importing a large number of end devices into The Things Stack. It simplifies the process of importing end devices.
Proposed Implementation
Add a pause & retry for the CLI tool when a rate limiting error is received.
Contributing
Validation
Code of Conduct
The text was updated successfully, but these errors were encountered: