Skip to content

perf: remove provider transaction event subscription - #622

Merged
Ropes merged 1 commit into
masterfrom
ropes/events-cleanup
May 29, 2020
Merged

perf: remove provider transaction event subscription#622
Ropes merged 1 commit into
masterfrom
ropes/events-cleanup

Conversation

@Ropes

@Ropes Ropes commented May 28, 2020

Copy link
Copy Markdown
Contributor
  • 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

codecov Bot commented May 28, 2020

Copy link
Copy Markdown

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.

Comment thread provider/cmd/run.go
return cmd
}

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

comments ++

@boz boz left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread events/publish.go
* 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 <josh@akash.network>
@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