Consider serializing transactions on a background thread #3826
Closed
Description
opened on Apr 4, 2024
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.
Metadata
Assignees
Type
Projects
Status
Done
Activity