We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34f5d78 commit 06033a6Copy full SHA for 06033a6
plugins/out_exit/exit.c
@@ -132,7 +132,7 @@ static void cb_exit_flush(struct flb_event_chunk *event_chunk,
132
133
if (ctx->flush_count == 0 ||
134
ctx->record_count == 0 ||
135
- (ctx->time_count && flb_time_to_millisec(&run) > (ctx->time_count*1000))) {
+ (ctx->time_count > 0 && flb_time_to_millisec(&run) > (ctx->time_count*1000))) {
136
flb_engine_exit(config);
137
ctx->is_running = FLB_FALSE;
138
}
0 commit comments