Skip to content

Commit

Permalink
engine: add sleep to output logs on init (#7931)
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 authored and leonardo-albertovich committed Oct 5, 2023
1 parent fdb3adf commit 5610789
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 5610789

Please sign in to comment.