Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Only restart the app after the current event finishes #85

Merged
merged 4 commits into from
Jan 28, 2022

Conversation

joao-paulo-parity
Copy link
Contributor

@joao-paulo-parity joao-paulo-parity commented Jan 28, 2022

Move mutex to the event handlers so that the app is only restarted (#84) when the current events have been processed. This avoids having some relevant work being stopped off halfway due to some unrelated server failure.

Not having this might not be a problem at the moment because we're supposed to be blocking the application while some event is being executed (#68). In any case it's better to have it.

@joao-paulo-parity joao-paulo-parity merged commit e367698 into paritytech:master Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant