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

Fix potential LRU cache size issue.#958

Merged
mcuadros merged 2 commits intosrc-d:masterfrom
kuba--:fix-cachesize
Sep 18, 2018
Merged

Fix potential LRU cache size issue.#958
mcuadros merged 2 commits intosrc-d:masterfrom
kuba--:fix-cachesize

Conversation

@kuba--
Copy link
Copy Markdown
Contributor

@kuba-- kuba-- commented Sep 17, 2018

Signed-off-by: kuba-- [email protected]

This PR fixes potential issue related to LRU Object/Buffer Cache size.
When you put to the cache the same object (key) but with different size, actualSize is not updating.

@kuba-- kuba-- added the bug label Sep 17, 2018
@kuba-- kuba-- requested review from a team, mcuadros and smola September 17, 2018 20:28
@mcuadros mcuadros requested review from ajnavarro and removed request for a team and smola September 17, 2018 22:03
@mcuadros mcuadros merged commit f69f530 into src-d:master Sep 18, 2018
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.

4 participants