lodestar icon indicating copy to clipboard operation
lodestar copied to clipboard

Un-subscribe all gossip when reverting to finalized sync

Open dapplion opened this issue 3 years ago • 3 comments

Currently we un-subscribe core topics when going to finalized sync

https://github.com/ChainSafe/lodestar/blob/2ed2e03d0ca3e2d6e04e503d4e1beb2deedd47a7/packages/lodestar/src/sync/sync.ts#L193-L194

However we keep subnet subscriptions, which are actually the ones taking the bulk of CPU processing.

  • [ ] Un-subscribe all gossip when reverting to finalized sync

From https://github.com/ChainSafe/lodestar/issues/2488

dapplion avatar May 12 '22 03:05 dapplion

Please investigate @tuyennhv , this may already be completed.

philknows avatar Nov 05 '23 15:11 philknows

This has not been completed, still a real feature request

wemeetagain avatar Oct 10 '24 20:10 wemeetagain

will look into this

twoeths avatar Oct 11 '24 01:10 twoeths