We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9ab1e commit b1ecf80Copy full SHA for b1ecf80
orderer/solo/consensus.go
@@ -24,7 +24,6 @@ import (
24
"github.com/hyperledger/fabric/orderer/common/configtx"
25
"github.com/hyperledger/fabric/orderer/rawledger"
26
cb "github.com/hyperledger/fabric/protos/common"
27
-
28
"github.com/op/go-logging"
29
)
30
@@ -88,6 +87,9 @@ func (bs *consenter) main() {
88
87
bs.rl.Append(batch, nil)
89
}
90
case <-timer:
+ //clear the timer
91
+ timer = nil
92
+
93
batch := bs.cutter.Cut()
94
if len(batch) == 0 {
95
logger.Warningf("Batch timer expired with no pending requests, this might indicate a bug")
0 commit comments