forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1538093 - reopen security_state env as read-only when not writing…
… r=keeler The new rkv-based cert_storage database caused a Heap Unclassified regression because of memory that LMDB reserves when opening a database in read-write mode. Since cert_storage usage is read-heavy, this change claws back that regression by opening it in read-only mode except when changes are being made. Differential Revision: https://phabricator.services.mozilla.com/D25098 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
3 changed files
with
70 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ authors = ["Dana Keeler <[email protected]>", "Mark Goodwin <mgoodwin@mozilla. | |
|
||
[dependencies] | ||
base64 = "0.10" | ||
lmdb-rkv = "0.11" | ||
nserror = { path = "../../../../xpcom/rust/nserror" } | ||
nsstring = { path = "../../../../xpcom/rust/nsstring" } | ||
rkv = "^0.9" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters