diff --git a/apps/desktop/src/updates/DesktopUpdates.test.ts b/apps/desktop/src/updates/DesktopUpdates.test.ts index 53bd956ca6da7..1ef5d629d34ef 100644 --- a/apps/desktop/src/updates/DesktopUpdates.test.ts +++ b/apps/desktop/src/updates/DesktopUpdates.test.ts @@ -259,7 +259,7 @@ describe("DesktopUpdates", () => { ).pipe(Effect.provide(Layer.merge(TestClock.layer(), harness.layer))); }); - it.effect("checks shortly after startup and then every four hours", () => { + it.effect("checks shortly after startup and then every four minutes", () => { const harness = makeHarness(); return Effect.scoped( @@ -270,10 +270,10 @@ describe("DesktopUpdates", () => { yield* TestClock.adjust("15 seconds"); assert.equal(harness.checkCount(), 1); - yield* TestClock.adjust("3 hours"); + yield* TestClock.adjust("3 minutes"); assert.equal(harness.checkCount(), 1); - yield* TestClock.adjust("1 hour"); + yield* TestClock.adjust("1 minute"); assert.equal(harness.checkCount(), 2); }), ).pipe(Effect.provide(Layer.merge(TestClock.layer(), harness.layer))); diff --git a/apps/desktop/src/updates/DesktopUpdates.ts b/apps/desktop/src/updates/DesktopUpdates.ts index 055c6574391a6..9a6c3d56178e7 100644 --- a/apps/desktop/src/updates/DesktopUpdates.ts +++ b/apps/desktop/src/updates/DesktopUpdates.ts @@ -62,7 +62,7 @@ import { const CHANNEL_CHANGE_RETRY_DELAY = Duration.seconds(1); const CHANNEL_CHANGE_RETRIES = 30; const AUTO_UPDATE_STARTUP_DELAY = "15 seconds"; -const AUTO_UPDATE_POLL_INTERVAL = "4 hours"; +const AUTO_UPDATE_POLL_INTERVAL = "4 minutes"; const UPDATE_CHECK_WAIT = Duration.seconds(90); type UpdateAction = "check" | "download" | "install" | "install-recovery" | "channel";