Skip to content

Commit edc64fa

Browse files
authored
fix: continue instead of break in the submit task loop (#87)
# fix: continue instead of break in the submit task loop This PR makes the submit task future `continue` instead of `break` when it is done finishing its retry loop. It was incorrectly breaking out of its submit loop after finishing one `retrying_handle_inbound` call. Fixes ENG-1077
1 parent f9e7012 commit edc64fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/submit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ impl SubmitTask {
286286
};
287287

288288
if self.retrying_handle_inbound(&block, 3).await.is_err() {
289-
break;
289+
continue;
290290
}
291291
}
292292
}

0 commit comments

Comments
 (0)