Skip to content

Commit

Permalink
[INLONG-11493][SDK] Inlong SDK Dirty Sink supports retry sending
Browse files Browse the repository at this point in the history
  • Loading branch information
vernedeng committed Nov 13, 2024
1 parent c8bbe4b commit 869cdd4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private void doSendDirtyMessage() {
try {
DirtyMessageWrapper messageWrapper = dirtyDataQueue.poll();
if (messageWrapper == null) {
Thread.sleep(100L);
continue;
}
messageWrapper.increaseRetry();
Expand Down

0 comments on commit 869cdd4

Please sign in to comment.