Skip to content

Consider serializing transactions on a background thread #3826

Closed
@philipphofmann

Description

Description

Currently, we serialize and send the transaction on the calling thread of finish. https://github.com/getsentry/sentry-cocoa/blob/main/Sources/Sentry/SentryTracer.m#L596-L622

This sometimes leads to app hangs for some customers when the transaction is large and they have profiling enabled. Instead, we could serialize and send the transaction on a background thread.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions