graph-store: patch importing

This commit is contained in:
Liam Fitzgerald 2021-07-20 14:14:16 +10:00
parent 092d2f30cf
commit 342f038e23
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -1,4 +1,4 @@
/- sur=graph-store, pos=post /- sur=graph-store, pos=post, pull-hook
/+ res=resource, migrate /+ res=resource, migrate
=< [sur .] =< [sur .]
=< [pos .] =< [pos .]
@ -872,6 +872,10 @@
^- card:agent:gall ^- card:agent:gall
=/ res-path (en-path:res rid) =/ res-path (en-path:res rid)
=/ wire [%try-rejoin (scot %ud nack-count) res-path] =/ wire [%try-rejoin (scot %ud nack-count) res-path]
[%pass wire %agent [entity.rid %graph-push-hook] %watch resource+res-path] =/ =cage
:- %pull-hook-action
!> ^- action:pull-hook
[%add [entity .]:rid]
[%pass wire %agent [our %graph-pull-hook] %poke cage]
-- --
-- --