Skip to content

Conversation

@DorKatzelnick
Copy link
Contributor

  • check request type in stream, and then forward to batcher or config-submitter
  • add config submitter tests to router
  • fix some other tests

issue: #192

…ubmitter

add config submitter tests to router

fix some other tests

Signed-off-by: Dor.Katzelnick <[email protected]>
// TODO: forward request to batcher or consenter
_ = reqType
if reqType == common.HeaderType_CONFIG_UPDATE {
s.logger.Debugf("received request with type %s, forwarding to consenter", reqType)
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be info and not debug if it is only for config requests

var wg sync.WaitGroup
wg.Add(1)

go func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

no reason for this

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.

2 participants