1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

Make Sync Optional on SW Start (#12467)

This commit is contained in:
Justin Baur
2024-12-18 15:28:13 -05:00
parent a1ce1ada15
commit 5ce6891481

View File

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