summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index eeb54aa..2e71ac1 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -85,8 +85,8 @@ void BlockActor::handle_top_token(
//TODO, schedule this message as a pre-allocation message
//tell the upstream about the input requirements
OutputHintMessage output_hints;
- output_hints.history_bytes = this->input_history_items[i]*this->input_items_sizes[i];
- output_hints.reserve_bytes = this->input_multiple_items[i];
+ output_hints.history_bytes = this->input_configs[i].lookahead_items*this->input_items_sizes[i];
+ output_hints.reserve_bytes = this->input_reserve_items[i];
output_hints.token = this->input_tokens[i];
this->post_upstream(i, output_hints);