Last active
April 1, 2020 14:31
-
-
Save kichiemon/a94f838e638fb99cb2348783987ffb1c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// The default cache size threshold is 100 MB. Configure "cacheSizeBytes" | |
// for a different threshold (minimum 1 MB) or set to "FirestoreCacheSizeUnlimited" | |
// to disable clean-up. | |
let settings = Firestore.firestore().settings | |
settings.cacheSizeBytes = FirestoreCacheSizeUnlimited | |
Firestore.firestore().settings = settings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment