[MOD] -J and -H flags for the max XMPP/HTTP thread

This commit is contained in:
LDA 2024-08-10 14:10:09 +02:00
commit 4d6ba32e98
5 changed files with 58 additions and 10 deletions

View file

@ -155,7 +155,7 @@ ParseeXMPPThread(void *argp)
/* ... and its readers. */
/* TODO: Make that configurable. */
info.available_dispatchers = 16;
info.available_dispatchers = args->config->xmpp_threads;
info.dispatchers = Malloc(
sizeof(*info.dispatchers) * info.available_dispatchers
);