Change summary
crates/client/src/telemetry.rs | 3 ---
crates/client2/src/telemetry.rs | 6 ------
crates/zed2/src/main.rs | 1 -
3 files changed, 10 deletions(-)
Detailed changes
@@ -369,8 +369,6 @@ impl Telemetry {
.clickhouse_events_queue
.push(ClickhouseEventWrapper { signed_in, event });
- dbg!(state.clickhouse_events_queue.len(), chrono::Utc::now());
-
if state.installation_id.is_some() {
if state.clickhouse_events_queue.len() >= MAX_QUEUE_LEN {
drop(state);
@@ -436,7 +434,6 @@ impl Telemetry {
release_channel: state.release_channel,
events,
};
- dbg!(&request_body);
json_bytes.clear();
serde_json::to_writer(&mut json_bytes, &request_body)?;
}
@@ -370,9 +370,6 @@ impl Telemetry {
.clickhouse_events_queue
.push(ClickhouseEventWrapper { signed_in, event });
- dbg!(state.clickhouse_events_queue.len(), chrono::Utc::now());
- dbg!(state.installation_id.is_some());
-
if state.installation_id.is_some() {
if state.clickhouse_events_queue.len() >= MAX_QUEUE_LEN {
drop(state);
@@ -407,8 +404,6 @@ impl Telemetry {
state.flush_clickhouse_events_task.take();
drop(state);
- dbg!("In flush");
-
let this = self.clone();
self.executor
.spawn(
@@ -446,7 +441,6 @@ impl Telemetry {
release_channel: state.release_channel,
events,
};
- dbg!(&request_body);
json_bytes.clear();
serde_json::to_writer(&mut json_bytes, &request_body)?;
}
@@ -73,7 +73,6 @@ fn main() {
let app = App::production(Arc::new(Assets));
let installation_id = app.background_executor().block(installation_id()).ok();
- dbg!("HERE", &installation_id);
let session_id = Uuid::new_v4().to_string();
init_panic_hook(&app, installation_id.clone(), session_id.clone());