Skip to content

Commit

Permalink
GH-1095 Allow interrupted transaction to be retried
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 16, 2025
1 parent 1a50b7b commit 0f4fbb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ bool exception_is_exhausted(const fc::exception& e) {
return (code == block_cpu_usage_exceeded::code_value) ||
(code == block_net_usage_exceeded::code_value) ||
(code == deadline_exception::code_value) ||
(code == interrupt_exception::code_value) || // allow interrupted trxs to be retried
(code == ro_trx_vm_oc_compile_temporary_failure::code_value);
}
} // namespace
Expand Down

0 comments on commit 0f4fbb4

Please sign in to comment.