Context
persist_telemetry() calls export_summary().await on the reconciliation tick before spawning. The N+2 read lock acquisitions and full clone happen on the hot path.
Proposed fix
Pass TelemetryStore clone into the spawned task, call export_summary() inside it.
Refs #539 (Gitea), Refs #523
Context
persist_telemetry()callsexport_summary().awaiton the reconciliation tick before spawning. The N+2 read lock acquisitions and full clone happen on the hot path.Proposed fix
Pass
TelemetryStoreclone into the spawned task, callexport_summary()inside it.Refs #539 (Gitea), Refs #523