Skip to content

Commit 488424a

Browse files
Leonardo Alminanaedsiper
authored andcommitted
core: changed the flush event priority
This change was required to ensure that flush results are processed and any resources tied to those coroutines are released before we schedule new flushes. Signed-off-by: Leonardo Alminana <[email protected]>
1 parent 1d91313 commit 488424a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fluent-bit/flb_engine_macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#define FLB_ENGINE_PRIORITY_CB_SCHED FLB_ENGINE_PRIORITY_TOP
6767
#define FLB_ENGINE_PRIORITY_CB_TIMER FLB_ENGINE_PRIORITY_TOP
6868
#define FLB_ENGINE_PRIORITY_SHUTDOWN FLB_ENGINE_PRIORITY_TOP
69-
#define FLB_ENGINE_PRIORITY_FLUSH FLB_ENGINE_PRIORITY_TOP
69+
#define FLB_ENGINE_PRIORITY_FLUSH (FLB_ENGINE_PRIORITY_NETWORK + 1)
7070

7171
#define FLB_ENGINE_PRIORITY_DNS FLB_ENGINE_PRIORITY_NETWORK
7272
#define FLB_ENGINE_PRIORITY_CONNECT FLB_ENGINE_PRIORITY_NETWORK

0 commit comments

Comments
 (0)