Skip to content

Commit a65d84b

Browse files
committed
handle close
1 parent 28d1799 commit a65d84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/stream/coordinator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (coordinator *Coordinator) NewProducer(
5959
status: open,
6060
messageSequenceCh: make(chan messageSequence, size),
6161
pendingMessages: pendingMessagesSequence{
62-
messages: make([]messageSequence, 0),
62+
messages: make([]messageSequence, 1),
6363
size: initBufferPublishSize,
6464
}}
6565
coordinator.producers[lastId] = producer

0 commit comments

Comments
 (0)