From 6e4b215bc557fc029928de059fc84c92f579c345 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Fri, 27 Oct 2023 13:46:54 -0500 Subject: [PATCH] GH-1837 Use calculated deadline for speculative blocks as well as produced blocks --- plugins/producer_plugin/producer_plugin.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/plugins/producer_plugin/producer_plugin.cpp b/plugins/producer_plugin/producer_plugin.cpp index e57fe48f54..c610d9b5b6 100644 --- a/plugins/producer_plugin/producer_plugin.cpp +++ b/plugins/producer_plugin/producer_plugin.cpp @@ -396,7 +396,7 @@ class producer_plugin_impl : public std::enable_shared_from_thisactive_schedule.producers, - _producer_watermarks); - if (wake_time) - _pending_block_deadline = std::min(*wake_time, _pending_block_deadline); } const auto& preprocess_deadline = _pending_block_deadline;