0
0
Fork 0
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:
Jason Volk 2018-08-18 22:10:39 -07:00
parent 89afac86a2
commit e620965d4c

View file

@ -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()