Merge pull request #2250 from ianmacd/pr16

Make configuration sync every 2 days, in line with the comment.
pull/2264/head
Audric Ackermann 3 years ago committed by GitHub
commit 5a6a8c93a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save