Skip to content

Commit d5885e3

Browse files
Adding a passthrough mechanism for flushes in select action
1 parent 58e0782 commit d5885e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/multio/action/select/Select.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Select::Select(const ComponentConfiguration& compConf) :
2727
ChainedAction{compConf}, selectors_{MatchReduce::construct(compConf.parsedConfig())} {}
2828

2929
void Select::executeImpl(Message msg) {
30-
if (matches(msg)) {
30+
//pass through action for everything that is not a field, e.g. Flush
31+
if (matches(msg) || (msg.tag() != message::Message::Tag::Field)) {
3132
executeNext(std::move(msg));
3233
}
3334
}

0 commit comments

Comments
 (0)