mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::db::database::cache: Fix the shard bits default.
This commit is contained in:
parent
dd4090e11b
commit
604c103bbc
1 changed files with 1 additions and 1 deletions
|
@ -2938,7 +2938,7 @@ noexcept
|
|||
decltype(ircd::db::database::cache::DEFAULT_SHARD_BITS)
|
||||
ircd::db::database::cache::DEFAULT_SHARD_BITS
|
||||
(
|
||||
std::min(std::log2(size_t(db::request_pool_size)), 16.0)
|
||||
std::log2(std::min(size_t(db::request_pool_size), 16UL))
|
||||
);
|
||||
|
||||
decltype(ircd::db::database::cache::DEFAULT_STRICT)
|
||||
|
|
Loading…
Reference in a new issue