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 test: Transaction group handle/verify #4652

Merged
merged 12 commits into from
Oct 24, 2022
Prev Previous commit
add a comment CR
  • Loading branch information
algonautshant committed Oct 24, 2022
commit 41a37df08e9ce4b6db9faf576fae8c21ef5cc3d7
2 changes: 2 additions & 0 deletions data/txHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ func reencode(stxns []transactions.SignedTxn) []byte {
// backlogWorker is the worker go routine that process the incoming messages from the postVerificationQueue and backlogQueue channels
// and dispatches them further.
func (handler *TxHandler) backlogWorker() {
// Note: TestIncomingTxHandle and TestIncomingTxGroupHandle emulate this function.
// Changes to the behavior in this function should be reflected in the test.
defer handler.backlogWg.Done()
for {
// prioritize the postVerificationQueue
Expand Down