Remoe dbg!()s

This commit is contained in:
Joseph T. Lyons 2023-11-19 21:55:19 -05:00
parent 3abd376d6a
commit e0f8615d52
3 changed files with 0 additions and 10 deletions

View File

@ -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)?;
}

View File

@ -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)?;
}

View File

@ -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());