Skip to content

Commit f8cc479

Browse files
committed
input: config map: set proper defaults for thread.ring_buffer.*
Signed-off-by: Eduardo Silva <[email protected]>
1 parent e47284b commit f8cc479

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flb_input.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ struct flb_config_map input_global_properties[] = {
128128
"Enable threading on an input"
129129
},
130130
{
131-
FLB_CONFIG_MAP_INT, "thread.ring_buffer.capacity", "0",
131+
FLB_CONFIG_MAP_INT, "thread.ring_buffer.capacity", STR(FLB_INPUT_RING_BUFFER_CAPACITY),
132132
0, FLB_FALSE, 0,
133133
"Set custom ring buffer capacity when the input runs in threaded mode"
134134
},
135135
{
136-
FLB_CONFIG_MAP_INT, "thread.ring_buffer.window", "0",
136+
FLB_CONFIG_MAP_INT, "thread.ring_buffer.window", STR(FLB_INPUT_RING_BUFFER_WINDOW),
137137
0, FLB_FALSE, 0,
138138
"Set custom ring buffer window percentage for threaded inputs"
139139
},

0 commit comments

Comments
 (0)