Skip to content

Commit

Permalink
engine: add sleep to output logs on init
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 committed Sep 16, 2023
1 parent 47b42dd commit 89b66d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flb_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,9 @@ int flb_engine_failed(struct flb_config *config)
flb_error("[engine] fail to dispatch FAILED message");
}

/* Waiting flushing log */
sleep(1);

return ret;
}

Expand Down

0 comments on commit 89b66d0

Please sign in to comment.