mirror of
https://github.com/urbit/shrub.git
synced 2025-01-07 05:26:56 +03:00
ames: ignore old rifts in +on-take-flub
This commit is contained in:
parent
985350d2b5
commit
efb92ad0c0
@ -1676,9 +1676,18 @@
|
|||||||
event-core
|
event-core
|
||||||
?> ?=([@ her=ship *] u.parsed)
|
?> ?=([@ her=ship *] u.parsed)
|
||||||
=* her her.u.parsed
|
=* her her.u.parsed
|
||||||
|
=/ peer-core (abed-got:pe her)
|
||||||
|
?: ?& ?=([%new *] u.parsed)
|
||||||
|
(lth rift.u.parsed rift.peer-state.peer-core)
|
||||||
|
==
|
||||||
|
:: ignore events from an old rift
|
||||||
|
::
|
||||||
|
%- %^ ev-trace odd.veb her
|
||||||
|
|.("dropping old rift wire: {(spud wire)}")
|
||||||
|
event-core
|
||||||
=/ =bone
|
=/ =bone
|
||||||
?-(u.parsed [%new *] bone.u.parsed, [%old *] bone.u.parsed)
|
?-(u.parsed [%new *] bone.u.parsed, [%old *] bone.u.parsed)
|
||||||
abet:(on-flub:(abed-got:pe her) bone)
|
abet:(on-flub:peer-core bone)
|
||||||
:: +on-take-done: handle notice from vane that it processed a message
|
:: +on-take-done: handle notice from vane that it processed a message
|
||||||
::
|
::
|
||||||
++ on-take-done
|
++ on-take-done
|
||||||
|
Loading…
Reference in New Issue
Block a user