Skip to content

Commit

Permalink
fix(core): Fix diagnostics.enabled default value (#11809)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov authored Nov 20, 2024
1 parent ff4261c commit 5fa72b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@n8n/config/src/configs/diagnostics.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PostHogConfig {
export class DiagnosticsConfig {
/** Whether diagnostics are enabled. */
@Env('N8N_DIAGNOSTICS_ENABLED')
enabled: boolean = false;
enabled: boolean = true;

/** Diagnostics config for frontend. */
@Env('N8N_DIAGNOSTICS_CONFIG_FRONTEND')
Expand Down
2 changes: 1 addition & 1 deletion packages/@n8n/config/test/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ describe('GlobalConfig', () => {
},
},
diagnostics: {
enabled: false,
enabled: true,
frontendConfig: '1zPn9bgWPzlQc0p8Gj1uiK6DOTn;https://telemetry.n8n.io',
backendConfig: '1zPn7YoGC3ZXE9zLeTKLuQCB4F6;https://telemetry.n8n.io',
posthogConfig: {
Expand Down

0 comments on commit 5fa72b0

Please sign in to comment.