Files
goose/crates
jh-block f499e1a00a Update telemetry consent in memory on config change
Replace the TTL-based cache with a Lazy<AtomicBool> that is
initialised once from config and updated immediately via
set_telemetry_enabled() whenever the telemetry key is written
through the /config/upsert, /config/remove, or CLI configure paths.

This gives hot paths (Sentry before_send / traces_sampler) zero
disk I/O while ensuring opt-in and opt-out take effect instantly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 11:27:31 +01:00
..
2026-03-06 02:40:52 +00:00