File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141#define FLB_CONFIG_DEFAULT_TASK_MAP_SIZE 2048
4242#define FLB_CONFIG_DEFAULT_TASK_MAP_SIZE_LIMIT 16384
4343#define FLB_CONFIG_DEFAULT_TASK_MAP_SIZE_GROWTH_SiZE 256
44+ #define FLB_CONFIG_EVENT_LOOP_SIZE 8
4445
4546/* The reason behind FLB_CONFIG_DEFAULT_TASK_MAP_SIZE_LIMIT being set to 16384
4647 * is that this is largest unsigned number expressable with 14 bits which is
Original file line number Diff line number Diff line change @@ -724,7 +724,7 @@ int flb_engine_start(struct flb_config *config)
724724 *
725725 */
726726 /* Create the event loop and set it in the global configuration */
727- config -> ctx_evl = mk_event_loop_create (8 );
727+ config -> ctx_evl = mk_event_loop_create (FLB_CONFIG_EVENT_LOOP_SIZE );
728728 if (!config -> ctx_evl ) {
729729 fprintf (stderr , "[log] could not create context event loop\n" );
730730 return -1 ;
You can’t perform that action at this time.
0 commit comments