Skip to content

Commit

Permalink
Amend comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaaron committed Jul 12, 2023
1 parent d87c21f commit 3651f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Onyx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ function update(data) {
function setMemoryOnlyKeys(keyList) {
Storage.setMemoryOnlyKeys(keyList);

// When in memory only mode for certain keys we do not want to ever drop items from the cache
// When in memory only mode for certain keys we do not want to ever drop items from the cache as the user will have no way to recover them again via storage.
cache.setRecentKeysLimit(Infinity);
}

Expand Down

0 comments on commit 3651f34

Please sign in to comment.