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

cache manager and clearing tracing cache #1769

Merged
merged 7 commits into from
Jul 30, 2016
Merged

cache manager and clearing tracing cache #1769

merged 7 commits into from
Jul 30, 2016

Conversation

debris
Copy link
Collaborator

@debris debris commented Jul 29, 2016

fixes #1743

right now max_cache_size is set to 20 mb. In next pr I will make it configurable from cli

@debris debris added the A0-pleasereview 🤓 Pull request needs code review. label Jul 29, 2016
@coveralls
Copy link

coveralls commented Jul 29, 2016

Coverage Status

Coverage increased (+0.05%) to 86.874% when pulling 0674b68 on cache_man into 29e0775 on master.

}
}

pub fn collect_carbage<C, F>(&mut self, current_size: C, mut notify_unused: F) where C: Fn() -> usize, F: FnMut(HashSet<T>) {
Copy link
Contributor

Choose a reason for hiding this comment

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

carbage -> garbage

@coveralls
Copy link

coveralls commented Jul 30, 2016

Coverage Status

Coverage increased (+0.07%) to 86.915% when pulling a8cc537 on cache_man into 57faa37 on master.

@gavofyork
Copy link
Contributor

gavofyork commented Jul 30, 2016

a test would be nice - i think there are already tests for the rest of the cache. can wait for the next
PR though, i guess.

@gavofyork gavofyork added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 30, 2016
@gavofyork gavofyork merged commit bcf8cd6 into master Jul 30, 2016
@gavofyork gavofyork deleted the cache_man branch July 30, 2016 22:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracing caches are never cleared
4 participants