Mercurial > hg > freeDiameter
diff libfdcore/core.c @ 1397:239ba25870d8
Allow parametrizing the number of threads for routing in/out.
This is for high-load situations where freeDiameter was limited
by the corresponding queues.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Fri, 15 Nov 2019 11:40:37 +0100 |
parents | ae81cd81ab09 |
children | 566bb46cc73f |
line wrap: on
line diff
--- a/libfdcore/core.c Fri Nov 15 11:38:30 2019 +0100 +++ b/libfdcore/core.c Fri Nov 15 11:40:37 2019 +0100 @@ -315,6 +315,8 @@ int fd_core_start(void) { int ret; + CHECK_FCT( fd_queues_init_after_conf() ); + CHECK_POSIX( pthread_mutex_lock(&core_lock) ); ret = fd_core_start_int(); CHECK_POSIX( pthread_mutex_unlock(&core_lock) );