This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
Avoid keeping blocks in memory longer than we need to #173
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
When we get a block, we currently send it to every interested session (
SessionManager.ReceiveBlocksFrom
). Looking into this, we mostly just need the CID. That would:We still need the blocks themselves to send them to the user but we should be able to avoid that by removing the per-session
PubSub
instance and reverting to a globalPubSub
instance.The text was updated successfully, but these errors were encountered: