Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Remove handlers and stop processes when leaving a shard #38

Closed
Tracked by #28
adlrocha opened this issue Oct 7, 2021 · 0 comments
Closed
Tracked by #28

Remove handlers and stop processes when leaving a shard #38

adlrocha opened this issue Oct 7, 2021 · 0 comments

Comments

@adlrocha
Copy link
Collaborator

adlrocha commented Oct 7, 2021

When leaving a shard we must:

  • Remove exchange and hello handlers for the shard if we no longer need them (i.e. we don't want to sync with the chain).

  • Remove all shard-related processes

    • Stop syncer
    • Stop sync manager
    • Stop mining (if we are still mining)
    • Close pubsub topics
    • etc. (I may be missing things, this will require a walk through all the code).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant