Sitelet https://github.com/init4tech/builder/commit/edc64fae177ef4975add209f2311435a95eaf29f
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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)