Skip to content
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

fix: Panic in HTTP subscriber Stop #1468

Merged
merged 1 commit into from
Aug 30, 2022
Merged

Conversation

bstasyszyn
Copy link
Contributor

Added a publisher channel to handle publish requests in a separate Go proc. When the HTTP subscriber is stopped, the publisher listener safely shuts down the subscriber channel.

This commit also fixes the problem with varying code coverage in the unit tests.

closes #1463
closes #591

Signed-off-by: Bob Stasyszyn Bob.Stasyszyn@securekey.com

@cla-bot cla-bot bot added the cla-signed label Aug 30, 2022
Added a publisher channel to handle publish requests in a separate Go proc. When the HTTP subscriber is stopped, the publisher listener safely shuts down the subscriber channel.

This commit also fixes the problem with varying code coverage in the unit tests and a race condition in the startup params test.

closes trustbloc#1463
closes trustbloc#591

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
@bstasyszyn bstasyszyn merged commit f3abaee into trustbloc:main Aug 30, 2022
@bstasyszyn bstasyszyn deleted the logging branch August 30, 2022 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants