-
Notifications
You must be signed in to change notification settings - Fork 87
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
Make monitorPeerConnection non-blocking #4067
Commits on Oct 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d12af74 - Browse repository at this point
Copy the full SHA d12af74View commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 029da23 - Browse repository at this point
Copy the full SHA 029da23View commit details -
peer-state-actions: use updateUnlessCold
There's no need to wake up the outbound-governor multiple times when the mini-protocols are terminating. Added comments.
Configuration menu - View commit details
-
Copy full SHA for 42b7844 - Browse repository at this point
Copy the full SHA 42b7844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 056a9ed - Browse repository at this point
Copy the full SHA 056a9edView commit details -
exit-policy: derive semigroup via Max
`ReconnectDelay` ought to use `max` as its semigroup rather than `+`.
Configuration menu - View commit details
-
Copy full SHA for e4b79bb - Browse repository at this point
Copy the full SHA e4b79bbView commit details -
exit-policy: derive Fractional instance for ReconnectDelay
This allows to use fractional literals without wrapping them in `ReconnectDelay` constructor.
Configuration menu - View commit details
-
Copy full SHA for e7ad23c - Browse repository at this point
Copy the full SHA e7ad23cView commit details -
Configuration menu - View commit details
-
Copy full SHA for af839ad - Browse repository at this point
Copy the full SHA af839adView commit details -
peer-selection: refactor monitoring connections
Instead of relaying on `policyErrorDelay` we can relay on the reconnect delay computed by `monitorPeerConnection`.
Configuration menu - View commit details
-
Copy full SHA for d1a61a4 - Browse repository at this point
Copy the full SHA d1a61a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55dd64f - Browse repository at this point
Copy the full SHA 55dd64fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 332c303 - Browse repository at this point
Copy the full SHA 332c303View commit details -
peer-selection: throw an exception when monitorPeerSelection blocks
This will cause the `peerSelectionGovernor` to fail and will stop the diffusion layer. This is better than silently skipping update of the state due to an asynchronous demotion.
Configuration menu - View commit details
-
Copy full SHA for 1250f33 - Browse repository at this point
Copy the full SHA 1250f33View commit details