Skip to content

Add maxCacheItems to SentryOptions #899

@philipphofmann

Description

@philipphofmann

Sentry-Java has an option cachDirSize for the number of maximum envelopes to store on disk. In Cocoa, this is hardcoded to 100 in the SentryFileManager. Add MaxCacheItems to SentryOptions use it in the SentryFileManager and remove the hardcoded value there. Set the default to 100 and change it to 30 in 7.x.x.

Update the docs when this issue is closed: getsentry/sentry-docs#2879

Metadata

Metadata

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions