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: Tech Debt (wsNetwork "auto" and OnlineAccountsDelete comment) #5207

Merged
merged 2 commits into from
Mar 17, 2023

Conversation

AlgoAxel
Copy link
Contributor

  • Rename "auto" to "testing" in wsNetwork for clarity
  • Rewrite OnlineAccountsDelete comment for correctness

* Rename "auto" to "testing" in wsNetwork for clarity
* Rewrite OnlineAccountsDelete comment for correctness
@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Merging #5207 (494fdb4) into master (dba5a08) will decrease coverage by 0.94%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5207      +/-   ##
==========================================
- Coverage   53.51%   52.58%   -0.94%     
==========================================
  Files         439      439              
  Lines       55012    55012              
==========================================
- Hits        29442    28928     -514     
- Misses      23283    23759     +476     
- Partials     2287     2325      +38     
Impacted Files Coverage Δ
ledger/store/trackerdb/sqlitedriver/accountsV2.go 9.25% <ø> (-4.29%) ⬇️
network/wsNetwork.go 67.46% <100.00%> (-1.62%) ⬇️

... and 59 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@bbroder-algo bbroder-algo left a comment

Choose a reason for hiding this comment

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

This PR is revisiting the naming of its functionality to automatically set the PublicAddress to be the HTTP Listener's address, as a convenience for testing functions. The changes are basic search and replace.

@@ -651,7 +651,12 @@ func (w *accountsV2Writer) TxtailNewRound(ctx context.Context, baseRound basics.
return err
}

// OnlineAccountsDelete deleted entries with updRound <= expRound
// OnlineAccountsDelete cleans up the Online Accounts table to prune expired entires.
// it will delete entries with an updRound <= expRound
Copy link
Contributor

Choose a reason for hiding this comment

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

What is expRound?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants