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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user