-
Notifications
You must be signed in to change notification settings - Fork 59
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
who monitors the monitor #1488
who monitors the monitor #1488
Conversation
@@ -186,7 +186,7 @@ jobs: | |||
_counter=$(mix credo --only Credo.Check.Readability.SinglePipe | grep -c "Use a function call when a pipeline is only one function long") | |||
echo "Current Credo.Check.Readability.SinglePipe occurrences:" | |||
echo $_counter | |||
if [ $_counter -gt 367 ]; then | |||
if [ $_counter -gt 359 ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bravo team!!!
This means that after this PR we would see the listener crashes in the logs? |
No. This changes nothing. Coordinator does not monitor listeners at all. I can’t find any code that would invoke monitoring. |
Aha ok got it! |
If you want to receive exit signals from processes you need to monitor them. I don't see any code implying that RootChainCoordinator monitors Ethereum Event Listeners and these two chunks of code would ever get called. So I'm removing them.