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

perf: remove provider transaction event subscription #622

Merged
merged 1 commit into from
May 29, 2020

Conversation

Ropes
Copy link
Contributor

@Ropes Ropes commented May 28, 2020

  • Deactivated events.Publish subscribes to the tendermint event bus
    and re-published events to the rest of the provider/
    modules.
  • Small docstring additions.

fixes #606

@Ropes Ropes requested a review from boz May 28, 2020 20:34
@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #622 into master will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #622      +/-   ##
==========================================
+ Coverage   22.09%   22.13%   +0.03%     
==========================================
  Files         127      127              
  Lines        6353     6342      -11     
==========================================
  Hits         1404     1404              
+ Misses       4872     4861      -11     
  Partials       77       77              
Impacted Files Coverage Δ
events/publish.go 0.00% <ø> (ø)
events/query.go 0.00% <ø> (ø)
provider/cmd/run.go 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f0a7096...10920b3. Read the comment docs.

@@ -47,6 +47,7 @@ func runCmd(cdc *codec.Codec) *cobra.Command {
return cmd
}

// doRunCmd initializes all of the Provider functionality, hangs, and awaits shutdown signals.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments ++

Copy link
Contributor

@boz boz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

One comment inline.

events/publish.go Show resolved Hide resolved
* Deactivated events.Publish subscribes to the tendermint event bus
and re-published events to the rest of the provider/
modules.

fixes #606

Signed-off-by: Josh Roppo <[email protected]>
@Ropes Ropes force-pushed the ropes/events-cleanup branch from ac388a0 to 10920b3 Compare May 29, 2020 16:55
@Ropes Ropes merged commit 0bf96e2 into master May 29, 2020
@Ropes Ropes deleted the ropes/events-cleanup branch May 29, 2020 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

events/publish: remove transaction subscription
4 participants