Fix telemetry (#42184)

Follow up to #41991 🤦🏻 

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2025-11-07 12:36:05 +01:00 committed by GitHub
parent 61c263fcf0
commit 483e31e42a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,10 +54,9 @@ macro_rules! serialize_property {
}
pub fn send_event(event: Event) {
println!("{} - {:?}", event.event_type, event.event_properties);
// if let Some(queue) = TELEMETRY_QUEUE.get() {
// queue.unbounded_send(event).ok();
// }
if let Some(queue) = TELEMETRY_QUEUE.get() {
queue.unbounded_send(event).ok();
}
}
pub fn init(tx: mpsc::UnboundedSender<Event>) {