mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Remoe dbg!()
s
This commit is contained in:
parent
3abd376d6a
commit
e0f8615d52
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user