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

Fix potential LRU cache size issue. #958

Merged
merged 2 commits into from
Sep 18, 2018
Merged

Fix potential LRU cache size issue. #958

merged 2 commits into from
Sep 18, 2018

Conversation

kuba--
Copy link
Contributor

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

Signed-off-by: kuba-- kuba@sourced.tech

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.

Signed-off-by: kuba-- <kuba@sourced.tech>
@kuba-- kuba-- added the bug label Sep 17, 2018
@kuba-- kuba-- requested review from smola, mcuadros and a team September 17, 2018 20:28
Signed-off-by: kuba-- <kuba@sourced.tech>
@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