Skip to content

Commit cc1d3b6

Browse files
hedietjoshspicer
andauthored
Disables edit telemetry to prevent memory leak (#258218)
Co-authored-by: Josh Spicer <[email protected]>
1 parent c180091 commit cc1d3b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/workbench/contrib/editTelemetry/browser/editTelemetry.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ configurationRegistry.registerConfiguration({
2222
[EDIT_TELEMETRY_SETTING_ID]: {
2323
markdownDescription: localize('telemetry.editStats.enabled', "Controls whether to enable telemetry for edit statistics (only sends statistics if general telemetry is enabled)."),
2424
type: 'boolean',
25-
default: true,
25+
default: false,
2626
tags: ['experimental'],
2727
},
2828
[EDIT_TELEMETRY_DETAILS_SETTING_ID]: {

src/vs/workbench/contrib/editTelemetry/browser/editTelemetryService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class EditTelemetryService extends Disposable {
2323
) {
2424
super();
2525

26-
this._editSourceTrackingEnabled = observableConfigValue(EDIT_TELEMETRY_SETTING_ID, true, this._configurationService);
26+
this._editSourceTrackingEnabled = observableConfigValue(EDIT_TELEMETRY_SETTING_ID, false, this._configurationService);
2727

2828
this._register(autorun(r => {
2929
const enabled = this._editSourceTrackingEnabled.read(r);

0 commit comments

Comments
 (0)