Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Framework/Core/include/Framework/ChannelInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ struct ForwardChannelInfo {

struct ForwardChannelState {
TimesliceId oldestForChannel = {0};
int64_t droppedMessages = 0;
};

} // namespace o2::framework
Expand Down
2 changes: 1 addition & 1 deletion Framework/Core/src/SendingPolicy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ std::vector<ForwardingPolicy> ForwardingPolicy::createDefaultPolicies()
.forward = [](fair::mq::Parts& parts, ChannelIndex channelIndex, ServiceRegistryRef registry) {
auto &proxy = registry.get<FairMQDeviceProxy>();
auto *channel = proxy.getForwardChannel(channelIndex);
OutputChannelState& state = proxy.getOutputChannelState(channelIndex);
ForwardChannelState& state = proxy.getForwardChannelState(channelIndex);
auto timeout = 1000;
if (state.droppedMessages > 0) {
timeout = 0;
Expand Down