Backed out changeset 4f0f6745c23d (bug 1158387) for failing extensions/cookie/test/unit/test_cookies_async_failure.js on Windows 7 VM opt. r=backout

This commit is contained in:
Sebastian Hengst 2017-05-22 22:03:32 +02:00
parent d4da052d31
commit 1344976217

View File

@ -1474,6 +1474,10 @@ nsCookieService::TryInitDB(bool aRecreateDB)
}
}
// make operations on the table asynchronous, for performance
mDefaultDBState->dbConn->ExecuteSimpleSQL(NS_LITERAL_CSTRING(
"PRAGMA synchronous = OFF"));
// Use write-ahead-logging for performance. We cap the autocheckpoint limit at
// 16 pages (around 500KB).
mDefaultDBState->dbConn->ExecuteSimpleSQL(NS_LITERAL_CSTRING(