feat(plugin_manager_init): set max_msg_per_stage as parameter

This commit is contained in:
yangwei
2024-09-06 13:41:40 +08:00
parent cc542dc365
commit 9cb50f81fb
4 changed files with 30 additions and 31 deletions

View File

@@ -40,7 +40,7 @@ struct plugin_manager_schema
UT_array *registered_polling_plugin_array;
int stellar_mq_topic_num;
int mq_topic_subscriber_num;
int max_message_dispatch;
unsigned int max_message_dispatch;
struct plugin_manager_per_thread_data *per_thread_data;
}__attribute__((aligned(sizeof(void*))));
@@ -131,8 +131,6 @@ struct stellar_mq_subscriber_info
* PLUGIN MANAGER INIT & EXIT *
*******************************/
#define MAX_MSG_PER_DISPATCH 256
#include <dlfcn.h>
struct plugin_specific