Skip to content

Commit

Permalink
Merge pull request #1864 from AntelopeIO/GH-1690-performance-main
Browse files Browse the repository at this point in the history
[5.0 -> main] Recover keys in chain thread pool
  • Loading branch information
heifner authored Nov 6, 2023
2 parents 87e34cb + 3a1edf1 commit 3bbc463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ class producer_plugin_impl : public std::enable_shared_from_this<producer_plugin
fc::microseconds max_trx_cpu_usage = max_trx_time_ms < 0 ? fc::microseconds::maximum() : fc::milliseconds(max_trx_time_ms);

auto future = transaction_metadata::start_recover_keys(trx,
_thread_pool.get_executor(),
chain.get_thread_pool(),
chain.get_chain_id(),
fc::microseconds(max_trx_cpu_usage),
trx_type,
Expand Down

0 comments on commit 3bbc463

Please sign in to comment.