-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop, pause, and resume #168
Comments
Depends on #235 |
Assigning to @timmclean since he's doing #235 |
I believe this is mostly covered by the new block ingestion/event streaming design. "Stop" can be accomplished with the Changing from testnet to mainnet or vice versa without clearing the DB will, uh, do fun things. Proposed enhancement: detect impossibly large reorgs and panic with an error message informing the user that they switched networks without changing the network name parameter. |
@timmclean What we have in mind for stop/pause/resume as for them to be possible without restarting the node at all. E.g. you'd send a "pause" or "resume" command to the admin JSON-RPC API and it would pause any further blocks/events/transactions from being processed in a subgraph. You're right thought that killing the process and starting it again should be similar to stop/pause followed by resume. What is the testnet to mainnet comment referring to? |
We don't this feature right now. |
Since syncing takes a long time it's a bad DX to have to restart syncing every time you stop the node.
The text was updated successfully, but these errors were encountered: