Skip to content

Offline caching improvements - Delay between and backoff when 429 is on #1926

@bruno-garcia

Description

@bruno-garcia

The SDK guideline has a couple of new items regarding offline caching: getsentry/develop#509

  1. If rate-limit was hit, make sure the caching transport is aware. Meaning: don't read all files from disk to send to the HTTP transport when that's basically dropping everything due to rate-limit
  2. Add a delay when reading from disk to avoid bursts of events which could trigger rate limit
  3. Once the device is back online, read events preciously cached (as opposed to send only on restart or when a new event is captured)

Relates to:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions