1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Make Sync Optional on SW Start (#12467)

This commit is contained in:
Justin Baur
2024-12-18 15:28:13 -05:00
committed by GitHub
parent ef8e8bfcbc
commit 456046e095

View File

@@ -1330,7 +1330,7 @@ export default class MainBackground {
return new Promise<void>((resolve) => { return new Promise<void>((resolve) => {
setTimeout(async () => { setTimeout(async () => {
await this.refreshBadge(); await this.refreshBadge();
await this.fullSync(true); await this.fullSync(false);
this.taskSchedulerService.setInterval( this.taskSchedulerService.setInterval(
ScheduledTaskNames.scheduleNextSyncInterval, ScheduledTaskNames.scheduleNextSyncInterval,
5 * 60 * 1000, // check every 5 minutes 5 * 60 * 1000, // check every 5 minutes