489156378c
* Initial commit for rate limiting - Detects if error code is 429 - Pauses for random time between .5 and 5 seconds before retrying - If it fails 10 times, give up and tell user * Redo structure of request() to support rate limiting * Hold down timer is now a sliding scale - 3 * number of retries - Fails after the 30 second wait * Whitespace fixes * Redo implementation using decorators - Errors aren't tested but code works for regular calls * Unit tests work for error handling * Add integration tests for successful retries * Add condition for 502 errors and retry * Move _error_report out of the class * PEP8 fixes * Add changelog entry
2 lines
111 B
YAML
2 lines
111 B
YAML
minor_changes:
|
|
- meraki_* - Modules now respect 429 (rate limit) and 500/502 errors with a graceful backoff.
|