We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae9c14e commit a178ce4Copy full SHA for a178ce4
src/core/telemetry.ts
@@ -42,6 +42,10 @@ class Telemetry implements IInjectable {
42
this.appInsights.loadAppInsights();
43
}
44
45
+ if (__DEV__) {
46
+ // 开发模式不启用性能服务检测
47
+ return;
48
+ }
49
// 延迟20秒后检查,先让出主线程
50
delay(20000, true).then(async () => {
51
const telemetryCheckTimestamp = appMeta.telemetryCheckTimestamp;
@@ -66,6 +70,10 @@ class Telemetry implements IInjectable {
66
70
67
71
68
72
private checkTelemetryEnabled(withUserPerference: boolean = true): boolean {
73
74
+ return false;
75
76
+
69
77
if (!this.appInsights) {
78
return false;
79
0 commit comments