Skip to content

Commit 4e8cc6e

Browse files
feat: update cloud settings refresh interval to one hour (#11749)
Co-authored-by: Roo Code <roomote@roocode.com>
1 parent 0aea65d commit 4e8cc6e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/cloud/src/CloudSettingsService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ export class CloudSettingsService extends EventEmitter<SettingsServiceEvents> im
6969
callback: async () => {
7070
return await this.fetchSettings()
7171
},
72-
successInterval: 30000,
72+
successInterval: 3_600_000,
7373
initialBackoffMs: 1000,
74-
maxBackoffMs: 30000,
74+
maxBackoffMs: 3_600_000,
7575
})
7676
}
7777

packages/cloud/src/__tests__/CloudSettingsService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ describe("CloudSettingsService", () => {
8989
expect(cloudSettingsService).toBeInstanceOf(CloudSettingsService)
9090
expect(RefreshTimer).toHaveBeenCalledWith({
9191
callback: expect.any(Function),
92-
successInterval: 30000,
92+
successInterval: 3_600_000,
9393
initialBackoffMs: 1000,
94-
maxBackoffMs: 30000,
94+
maxBackoffMs: 3_600_000,
9595
})
9696
})
9797

0 commit comments

Comments
 (0)