mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Migrate more code into the chrono type system:
Changes include: * Database::tune and all tune overrides * TaggedCache TargetAge * KeyCache TargetAge
This commit is contained in:
committed by
Nik Bougalis
parent
574ea2c14d
commit
d257d1b2c9
@@ -677,7 +677,7 @@ DatabaseShardImp::getCacheHitRate()
|
||||
}
|
||||
|
||||
void
|
||||
DatabaseShardImp::tune(int size, int age)
|
||||
DatabaseShardImp::tune(int size, std::chrono::seconds age)
|
||||
{
|
||||
std::lock_guard<std::mutex> l(m_);
|
||||
assert(init_);
|
||||
|
||||
Reference in New Issue
Block a user