Commit bfbb26e2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

No need for this to live in common.h

parent 9c8609de
......@@ -46,10 +46,6 @@
/**********************************************************************/
#if !defined(MAX_THREAD_POOLS)
# define MAX_THREAD_POOLS 32
#endif
extern pid_t mgt_pid;
#define ASSERT_MGT() do { assert(getpid() == mgt_pid);} while (0)
......
......@@ -287,6 +287,10 @@ init_params(struct cli *cli)
def = low;
MCF_ParamConf(MCF_DEFAULT, "thread_pool_stack", "%jdb", (intmax_t)def);
#if !defined(MAX_THREAD_POOLS)
# define MAX_THREAD_POOLS 32
#endif
MCF_ParamConf(MCF_MAXIMUM, "thread_pools", "%d", MAX_THREAD_POOLS);
MCF_InitParams(cli);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment