summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/sync/modules/service.js3
-rw-r--r--services/sync/services-sync.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js
index f8c64b0fa..32e047f53 100644
--- a/services/sync/modules/service.js
+++ b/services/sync/modules/service.js
@@ -1338,9 +1338,10 @@ Sync11Service.prototype = {
// We successfully synchronized.
// Check if the identity wants to pre-fetch a migration sentinel from
// the server.
+ // Only supported by Sync server API level 2+
// If we have no clusterURL, we are probably doing a node reassignment
// so don't attempt to get it in that case.
- if (this.clusterURL) {
+ if (Svc.Prefs.get("APILevel") >= 2 && this.clusterURL) {
this.identity.prefetchMigrationSentinel(this);
}
diff --git a/services/sync/services-sync.js b/services/sync/services-sync.js
index ebac4412b..9473d9a9d 100644
--- a/services/sync/services-sync.js
+++ b/services/sync/services-sync.js
@@ -81,7 +81,7 @@ pref("services.sync.fxa.privacyURL", "https://accounts.firefox.com/legal/privacy
pref("services.sync.telemetry.submissionInterval", 43200); // 12 hours in seconds
pref("services.sync.telemetry.maxPayloadCount", 500);
-// Note that services.sync.validation.enabled is located in browser/app/profile/firefox.js
+// Note that services.sync.validation.enabled is located in application/[application name]/app/profile/[application name].js
// We consider validation this frequently. After considering validation, even
// if we don't end up validating, we won't try again unless this much time has passed.