Removed debug output

This commit is contained in:
Sebastian Meßmer 2015-04-18 16:59:44 +02:00
parent c1551121c8
commit 90c7bad8d6

View File

@ -48,8 +48,6 @@ void Cache::push(unique_ptr<Block> block) {
void Cache::_popOldEntries() { void Cache::_popOldEntries() {
lock_guard<mutex> lock(_mutex); lock_guard<mutex> lock(_mutex);
while(_cachedBlocks.size() > 0 && _cachedBlocks.peek().ageSeconds() > PURGE_LIFETIME_SEC) { while(_cachedBlocks.size() > 0 && _cachedBlocks.peek().ageSeconds() > PURGE_LIFETIME_SEC) {
double age = _cachedBlocks.peek().ageSeconds();
printf("Removing block with age: %f\n", age);
_cachedBlocks.pop(); _cachedBlocks.pop();
} }
} }