From d14486b462203559cf72cf1483e95ce8d8e7a0ea Mon Sep 17 00:00:00 2001 From: Ian Macdonald Date: Tue, 5 Apr 2022 12:38:31 +0200 Subject: [PATCH] Make configuration sync every 2 days, in line with the comment. --- ts/session/utils/syncUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/session/utils/syncUtils.ts b/ts/session/utils/syncUtils.ts index bae205fb2..d4a9863f9 100644 --- a/ts/session/utils/syncUtils.ts +++ b/ts/session/utils/syncUtils.ts @@ -46,7 +46,7 @@ export const syncConfigurationIfNeeded = async () => { const now = Date.now(); // if the last sync was less than 2 days before, return early. - if (Math.abs(now - lastSyncedTimestamp) < DURATION.DAYS * 7) { + if (Math.abs(now - lastSyncedTimestamp) < DURATION.DAYS * 2) { return; }