Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
don't report hangs on stable (#11494)
Conrad Irwine2907983d19d
diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rsindex 29c78d916d6..f3d23233c7b 100644--- a/crates/zed/src/reliability.rs+++ b/crates/zed/src/reliability.rs@@ -183,6 +183,14 @@ pub fn monitor_main_thread_hangs(installation_id: Option<String>,cx: &AppContext,) {+ // This is too noisy to ship to stable for now.+ if !matches!(+ ReleaseChannel::global(cx),+ ReleaseChannel::Dev | ReleaseChannel::Nightly | ReleaseChannel::Preview+ ) {+ return;+ }+use nix::sys::signal::{sigaction, SaFlags, SigAction, SigHandler, SigSet,Signal::{self, SIGUSR2},