batcher refactor: flatten out go routines#12405
Conversation
|
Semgrep found 1 TODO in error handling code Ignore this finding from err-todo. |
|
Semgrep found 3
require() must include a reason string Ignore this finding from sol-style-require-reason.Semgrep found 6
Inputs to functions must be prepended with an underscore ( Semgrep found 4
No Semgrep found 1 Do not use Semgrep found 1 MarshalJSON with a pointer receiver has surprising results: golang/go#22967 Ignore this finding from marshal-json-pointer-receiver.Semgrep found 1 superfluous nil err check before return Ignore this finding from err-nil-check. |
|
This looks like it needs a rebase now before we can merge it |
Yes, I'll do that now. |
* don't need to set default value the first time * avoid writing to Logger while holding mutex
fbbf8e4 to
d526e42
Compare
hoping this makes the diff nicer
This is a refactor to try and make the
twothree goroutines spawned by the driver equally clear.Names the previously anonymous receiptsLoopThis got done already while this PR was open.