mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: update cloud settings refresh interval to one hour (#11749)
Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
0aea65d1e6
commit
4e8cc6eaee
2 changed files with 4 additions and 4 deletions
|
|
@ -69,9 +69,9 @@ export class CloudSettingsService extends EventEmitter<SettingsServiceEvents> im
|
|||
callback: async () => {
|
||||
return await this.fetchSettings()
|
||||
},
|
||||
successInterval: 30000,
|
||||
successInterval: 3_600_000,
|
||||
initialBackoffMs: 1000,
|
||||
maxBackoffMs: 30000,
|
||||
maxBackoffMs: 3_600_000,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,9 +89,9 @@ describe("CloudSettingsService", () => {
|
|||
expect(cloudSettingsService).toBeInstanceOf(CloudSettingsService)
|
||||
expect(RefreshTimer).toHaveBeenCalledWith({
|
||||
callback: expect.any(Function),
|
||||
successInterval: 30000,
|
||||
successInterval: 3_600_000,
|
||||
initialBackoffMs: 1000,
|
||||
maxBackoffMs: 30000,
|
||||
maxBackoffMs: 3_600_000,
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue