Bug 1416077 - Disable retries on storage.sync requests r?markh
--- a/toolkit/components/extensions/ExtensionStorageSync.jsm
+++ b/toolkit/components/extensions/ExtensionStorageSync.jsm
@@ -343,16 +343,17 @@ async function storageSyncInit() {
storageSyncInit.promise = FirefoxAdapter.openConnection({path})
.then(connection => {
return {
connection,
kinto: new Kinto({
adapter: FirefoxAdapter,
adapterOptions: {sqliteHandle: connection},
timeout: KINTO_REQUEST_TIMEOUT,
+ retry: 0,
}),
};
}).catch(e => {
// Ensure one failure doesn't break us forever.
Cu.reportError(e);
storageSyncInit.promise = undefined;
throw e;
});