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: Notify subscribers on close #876

Closed
wants to merge 1 commit into from

Conversation

AndrewSisley
Copy link
Contributor

Relevant issue(s)

Resolves #872

Description

An alternative pattern to that in #873

Specify the platform(s) on which this was tested:

  • Debian Linux

@AndrewSisley AndrewSisley added bug Something isn't working area/db-system Related to the core system related components of the DB action/no-benchmark Skips the action that runs the benchmark. labels Oct 7, 2022
@AndrewSisley AndrewSisley added this to the DefraDB v0.4 milestone Oct 7, 2022
@AndrewSisley AndrewSisley requested a review from a team October 7, 2022 13:47
@AndrewSisley AndrewSisley self-assigned this Oct 7, 2022
@codecov
Copy link

codecov bot commented Oct 7, 2022

Codecov Report

Merging #876 (27ec52e) into develop (fda90b5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #876      +/-   ##
===========================================
+ Coverage    59.81%   59.82%   +0.01%     
===========================================
  Files          157      158       +1     
  Lines        17425    17438      +13     
===========================================
+ Hits         10422    10432      +10     
- Misses        6066     6068       +2     
- Partials       937      938       +1     
Impacted Files Coverage Δ
events/events.go 100.00% <ø> (ø)
events/notification.go 100.00% <100.00%> (ø)
events/simple.go 83.82% <100.00%> (ø)
net/peer.go 31.81% <100.00%> (-0.09%) ⬇️

@AndrewSisley
Copy link
Contributor Author

Closed, as is a Golang prop to handle this already that I didnt know about (thanks Fred lol)

@AndrewSisley AndrewSisley deleted the sisley/fix/I872-event-close-b branch October 7, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/db-system Related to the core system related components of the DB bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Events: Closing subscription channel spams the logs
1 participant