Skip to content

Commit

Permalink
Make Sync Optional on SW Start (#12467)
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur committed Dec 18, 2024
1 parent a1ce1ad commit 5ce6891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/browser/src/background/main.background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ce6891

Please sign in to comment.