mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-20 17:59:50 +00:00
use custom packing for indexable data: PackedEvent
This commit is contained in:
@ -31,7 +31,7 @@ void RelayServer::runReqMonitor(ThreadPool<MsgReqMonitor>::Thread &thr) {
|
||||
auto connId = msg->sub.connId;
|
||||
|
||||
env.foreach_Event(txn, [&](auto &ev){
|
||||
if (msg->sub.filterGroup.doesMatch(ev.flat_nested())) {
|
||||
if (msg->sub.filterGroup.doesMatch(PackedEventView(ev.packed()))) {
|
||||
sendEvent(connId, msg->sub.subId, getEventJson(txn, decomp, ev.primaryKeyId));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user