Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "auth": {
    ...all previous parameters
    "rate_limit": {
      "min_rate": 15,
      "max_rate": 75
    }
  }
}

Rate Limiting and 429 - TooManyRequests Responses

SkySync will respect any 429 response from an API which contains a 'Retry-After' header with a time value.  In this case, the application will wait the given amount of time before retrying the request.  In most cases, the subsequent request should succeed.  In the cases which multiple 429 responses are received the rate limiting algorithm will begin to take effect to throttle the number of operations per second.

...