1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-28 07:04:52 +09:00
vervis/migrations/2019_02_03_verifkey.model
fr33domlover 9e0314fa09 Store remote actors' inbox URIs in DB, avoiding some actor fetch
When a local user wants to publish an activity, we were always GETing the
recipient actor, so that we could determine their inbox and POST the activity
to it. But now, instead, whenever we GET an actor (whether it's for the key sig
verification or for determining inbox URI), we keep their inbox URI in the
database, and we don't need to GET it again next time.
2019-02-14 23:27:40 +00:00

20 lines
315 B
Text

VerifKey
ident Text
instance InstanceId
expires UTCTime Maybe
public ByteString
sharer RemoteSharerId Maybe
UniqueVerifKey ident
RemoteSharer
ident Text
instance InstanceId
inbox Text
UniqueRemoteSharer ident
Instance
host Text
UniqueInstance host