From 7c2875799f42d64810bc221149096f2f43d82b9e Mon Sep 17 00:00:00 2001 From: aaronvg Date: Wed, 27 Nov 2024 10:28:02 -0800 Subject: [PATCH] send less telemetry (#1200) > [!IMPORTANT] > Change update check interval from 1 hour to 6 hours in `activateClient()` in `index.ts`. > > - **Behavior**: > - Change update check interval from 1 hour to 6 hours in `activateClient()` in `index.ts`. > > This description was created by [Ellipsis](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral) for b568c920d2576e70be723a61cd411f93aaac4fe8. It will automatically update as commits are pushed. --- .../packages/vscode/src/plugins/language-server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/vscode-ext/packages/vscode/src/plugins/language-server/index.ts b/typescript/vscode-ext/packages/vscode/src/plugins/language-server/index.ts index 7a89a459f..5ab3a973b 100644 --- a/typescript/vscode-ext/packages/vscode/src/plugins/language-server/index.ts +++ b/typescript/vscode-ext/packages/vscode/src/plugins/language-server/index.ts @@ -255,7 +255,7 @@ const activateClient = ( console.log(`checking for updates ${new Date().toString()}`) checkForUpdates({ showIfNoUpdates: false }) }, - 60 * 60 * 1000 /* 1h in milliseconds: min/hr * secs/min * ms/sec */, + 6 * 60 * 60 * 1000 /* 6h in milliseconds: min/hr * secs/min * ms/sec */, ), ) })