We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ec5fe commit b34d7a0Copy full SHA for b34d7a0
block/internal/syncing/raft_retriever.go
@@ -55,7 +55,7 @@ func (r *raftRetriever) Start(ctx context.Context) error {
55
return errors.New("syncer already started")
56
}
57
ctx, r.cancel = context.WithCancel(ctx)
58
- applyCh := make(chan raft.RaftApplyMsg)
+ applyCh := make(chan raft.RaftApplyMsg, 1)
59
r.raftNode.SetApplyCallback(applyCh)
60
61
r.wg.Add(1)
0 commit comments