forked from Expensify/react-native-onyx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep a list of recently accessed keys in `OnyxCache` - `recentKeys` This serves to clean "Least Recently Used" keys from cache Keys are added to `recentKeys` for any cache access operation - get/set/merge Added a configurable limit of 150 keys in cache This looks like a sane value from observations during chat browsing
- Loading branch information
Showing
2 changed files
with
50 additions
and
58 deletions.
There are no files selected for viewing
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
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