Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Expose object cache through options #946

Closed
wants to merge 3 commits into from
Closed

Expose object cache through options #946

wants to merge 3 commits into from

Conversation

kuba--
Copy link
Contributor

@kuba-- kuba-- commented Sep 5, 2018

If we let apps. adjust cache size (or pass own implementation) we need to expose it somehow.
Recently we added Options to ObjectStorage, so instead of extending ObjectStorage structure and implement new constructors WithCache, I've moved cache under Options structure.

It's related to src-d/gitbase#440

@kuba-- kuba-- added the plumbing label Sep 5, 2018
@kuba-- kuba-- requested review from smola, mcuadros and a team September 5, 2018 18:02
@kuba-- kuba-- closed this Sep 5, 2018
@kuba-- kuba-- deleted the cache-size branch September 5, 2018 18:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant