Skip to content

Internal persistence settings #1411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 4, 2018

Conversation

gsoltis
Copy link

@gsoltis gsoltis commented Dec 4, 2018

Refactor PersistenceSettings. Removes PersistenceSettings in favor of more specific classes. Note that merge base is into the lru PR #1392

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nit and a clarifying question, but LGTM. I like this better. Thanks!

}
}

export class MemoryPersistenceSettings {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to verify my own understanding, this will potentially have cacheSizeBytes in the future (if we move MemoryPersistence to LRU to put web in parity with iOS / Android behavior)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that is the intention.

@mikelehen mikelehen assigned gsoltis and unassigned mikelehen Dec 4, 2018
@gsoltis gsoltis merged commit 2fca6eb into gsoltis/enable_lru Dec 4, 2018
@gsoltis gsoltis deleted the gsoltis/internal_persistence_settings branch December 4, 2018 23:04
@firebase firebase locked and limited conversation to collaborators Oct 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants