Make configuration sync every 2 days, in line with the comment.

pull/2250/head
Ian Macdonald 3 years ago
parent bfe66c163d
commit d14486b462
No known key found for this signature in database
GPG Key ID: AE4C20556BA626FA

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