summaryrefslogtreecommitdiffstats
path: root/services/settings/RemoteSettingsClient.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'services/settings/RemoteSettingsClient.sys.mjs')
-rw-r--r--services/settings/RemoteSettingsClient.sys.mjs5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/settings/RemoteSettingsClient.sys.mjs b/services/settings/RemoteSettingsClient.sys.mjs
index c521b72123..2153520adb 100644
--- a/services/settings/RemoteSettingsClient.sys.mjs
+++ b/services/settings/RemoteSettingsClient.sys.mjs
@@ -469,9 +469,10 @@ export class RemoteSettingsClient extends EventEmitter {
} else {
lazy.console.debug(`${this.identifier} Awaiting existing import.`);
}
- } else if (hasLocalData && loadDumpIfNewer) {
+ } else if (hasLocalData && loadDumpIfNewer && lazy.Utils.LOAD_DUMPS) {
// Check whether the local data is older than the packaged dump.
- // If it is, load the packaged dump (which overwrites the local data).
+ // If it is and we are on production, load the packaged dump (which
+ // overwrites the local data).
let lastModifiedDump = await lazy.Utils.getLocalDumpLastModified(
this.bucketName,
this.collectionName