-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline caching should support concurrent process instances #1067
Labels
Comments
Two past attempts to address this. Worth reading the PR reviews: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the
CacheDirectoryPath
property enabled offline caching of events, and the persistency of the "InstalationId" that uniquely identifies a device without any privacy concerns (it's a random ID so can't be related to any other information to identify a user across apps).This path is used as a base, and a sub directory
Sentry
is created followed by a hash of the DSN (to make sure different apps using Sentry don't share any data).One use case that is not covered is when multiple instances of the same app (so using the same DSN) are executed at the same time. Different SDK instances will race through accessing the caching directory.
The behavior we'd expect is:
Sentry
The text was updated successfully, but these errors were encountered: