Skip to content

Commit

Permalink
Bug 1406475 - Convert ServicesAutomation module to using Services.pre…
Browse files Browse the repository at this point in the history
…fs. r=sync-reviewers,skhamis

Depends on D180807

Differential Revision: https://phabricator.services.mozilla.com/D180808
  • Loading branch information
marco-c committed Jun 14, 2023
1 parent 528b2c8 commit 0e065aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/automation/ServicesAutomation.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ export var Sync = {
lazy.Svc.Obs.add("weave:service:setup-complete", this);
lazy.Svc.Obs.add("weave:service:tracking-started", this);
// Delay the automatic sync operations, so we can trigger it manually
lazy.Weave.Svc.Prefs.set("scheduler.immediateInterval", 7200);
lazy.Weave.Svc.Prefs.set("scheduler.idleInterval", 7200);
lazy.Weave.Svc.Prefs.set("scheduler.activeInterval", 7200);
lazy.Weave.Svc.Prefs.set("syncThreshold", 10000000);
lazy.Weave.Svc.PrefBranch.setIntPref("scheduler.immediateInterval", 7200);
lazy.Weave.Svc.PrefBranch.setIntPref("scheduler.idleInterval", 7200);
lazy.Weave.Svc.PrefBranch.setIntPref("scheduler.activeInterval", 7200);
lazy.Weave.Svc.PrefBranch.setIntPref("syncThreshold", 10000000);
// Wipe all the logs
await this.wipeLogs();
},
Expand Down

0 comments on commit 0e065aa

Please sign in to comment.