mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
ircd::db: Make request pool size a conf item.
This commit is contained in:
parent
89afac86a2
commit
e620965d4c
1 changed files with 8 additions and 1 deletions
|
@ -89,6 +89,13 @@ ircd::db::request
|
|||
0, // don't prespawn because this is static
|
||||
};
|
||||
|
||||
ircd::conf::item<size_t>
|
||||
request_pool_default
|
||||
{
|
||||
{ "name", "ircd.db.request_pool.default" },
|
||||
{ "default", 32L }
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// init
|
||||
|
@ -108,7 +115,7 @@ ircd::db::init::init()
|
|||
{
|
||||
init_compressions();
|
||||
init_directory();
|
||||
request.add(16);
|
||||
request.add(size_t(request_pool_default));
|
||||
}
|
||||
|
||||
ircd::db::init::~init()
|
||||
|
|
Loading…
Reference in a new issue