mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 04:02:54 +03:00
Disable instance handshake in dev builds
This commit is contained in:
parent
45230dcaf3
commit
dfe4fc4d0a
@ -350,7 +350,6 @@ impl Telemetry {
|
||||
milliseconds_since_first_event: self.milliseconds_since_first_event(),
|
||||
};
|
||||
|
||||
dbg!(telemetry_settings);
|
||||
self.report_clickhouse_event(event, telemetry_settings, true)
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ pub enum IsOnlyInstance {
|
||||
}
|
||||
|
||||
pub fn ensure_only_instance() -> IsOnlyInstance {
|
||||
if *db::ZED_STATELESS {
|
||||
if *db::ZED_STATELESS || *util::channel::RELEASE_CHANNEL == ReleaseChannel::Dev {
|
||||
return IsOnlyInstance::Yes;
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ pub enum IsOnlyInstance {
|
||||
}
|
||||
|
||||
pub fn ensure_only_instance() -> IsOnlyInstance {
|
||||
if *db::ZED_STATELESS {
|
||||
if *db::ZED_STATELESS || *util::channel::RELEASE_CHANNEL == ReleaseChannel::Dev {
|
||||
return IsOnlyInstance::Yes;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user