only keep the latest entry for a given udi in the cache

This commit is contained in:
dockes
2009-11-22 17:27:34 +00:00
parent d49d2eec3d
commit 7f856f482b
3 changed files with 282 additions and 161 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ BeagleQueueIndexer::BeagleQueueIndexer(RclConfig *cnf, Rcl::Db *db,
int maxmbs = 20;
m_config->getConfParam("webcachemaxmbs", &maxmbs);
m_cache = new CirCache(ccdir);
m_cache->create(off_t(maxmbs)*1000*1024, true);
m_cache->create(off_t(maxmbs)*1000*1024, CirCache::CC_CRUNIQUE);
}
BeagleQueueIndexer::~BeagleQueueIndexer()