Skip to content

Commit

Permalink
feat: disable reporting by default
Browse files Browse the repository at this point in the history
  • Loading branch information
freaz committed Jan 31, 2025
1 parent f4d1a8d commit 286535f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/config/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe('Config', () => {
it('replaces invalid values with defaults', async () => {
const customConfig = loadConfigFromCode(
{
disableReporting: false,
disableReporting: true,
metricDebounceTimeMax: -1,
metricDebounceTimeMin: -10,
sandboxTimeout: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/core/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const DEFAULT_CACHE_PATH = (fileSystem: FSPath): string =>
'superface'
);
export const DEFAULT_SANDBOX_TIMEOUT = 100;
export const DEFAULT_DISABLE_REPORTING = false;
export const DEFAULT_DISABLE_REPORTING = true;
export const DEFAULT_CACHE = true;
// 1 hour
export const DEFAULT_BOUND_PROVIDER_TIMEOUT = 60 * 60;
Expand Down

0 comments on commit 286535f

Please # to comment.