Skip to content

Commit

Permalink
filter out known payloads … ?
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Nov 9, 2024
1 parent 4723dfb commit 7d2d170
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class DataManager[State](
biChan.send(Payload(replicaId.uid, msg.context, msg.data)).run(using ())(debugCallbackAndRemoveCon(biChan))
updateContext(uid, selfContext `merge` knows)
case Payload(uid, context, data) =>
if context <= selfContext then return
val internalized = ProtocolDots[State](data, context)
lock.synchronized {
updateContext(uid, context)
Expand Down

0 comments on commit 7d2d170

Please sign in to comment.