File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ static int in_winevtlog_init(struct flb_input_instance *in,
7474
7575 /* Set up total reading size threshold */
7676 if (ctx -> total_size_threshold >= MINIMUM_THRESHOLD_SIZE &&
77- ctx -> total_size_threshold < MAXIMUM_THRESHOLD_SIZE ) {
77+ ctx -> total_size_threshold <= MAXIMUM_THRESHOLD_SIZE ) {
7878 flb_utils_bytes_to_human_readable_size ((size_t ) ctx -> total_size_threshold ,
7979 human_readable_size ,
8080 sizeof (human_readable_size ) - 1 );
8181 flb_plg_debug (ctx -> ins ,
8282 "read limit per cycle is set up as %s" ,
8383 human_readable_size );
8484 }
85- else if (ctx -> total_size_threshold >= MAXIMUM_THRESHOLD_SIZE ) {
85+ else if (ctx -> total_size_threshold > MAXIMUM_THRESHOLD_SIZE ) {
8686 flb_utils_bytes_to_human_readable_size ((size_t ) MAXIMUM_THRESHOLD_SIZE ,
8787 human_readable_size ,
8888 sizeof (human_readable_size ) - 1 );
You can’t perform that action at this time.
0 commit comments