Skip to content

Handle rate limiting in LaunchDarkly importer #5361

@khvn26

Description

@khvn26

We should respect rate limiting rules described here: https://launchdarkly.com/docs/api#rate-limiting

Add backoff/jitter to the LaunchDarkly client.

Process 429 responses as follows:

  1. Look for a Retry-After header value.
  2. Look for X-Ratelimit-Reset header value.
  3. If any of them provided, schedule a retry using the provided timestamp/interval.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions