On Wed, Jul 06, 2016 at 03:21:00PM +0000, Ленченко Илья Анатольевич wrote:
{ rlm_smt_t *inst = instance; inst->poolMYSQL = fr_connection_pool_module_init(conf, inst, mod_conn_create_mysql, NULL, NULL); if (!inst->poolMYSQL) { return -1; } inst->poolRabbitMQ = fr_connection_pool_module_init(conf, inst, mod_conn_create_rmq, NULL, NULL); if (!inst->poolRabbitMQ) { return -1; }
Using the same 'conf' for each one doesn't look good to me. I would first try with different conf subsection for each of mysql and rabbitmq, and pass those through to fr_connection_pool_module_init. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>