Skip to content

Commit

Permalink
fix nil
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Oct 24, 2023
1 parent 7d25fc7 commit a4944a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pulsar/message_chunking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"math/rand"
"net/http"
"strings"
"sync"
"testing"
"time"

Expand Down Expand Up @@ -569,7 +570,8 @@ func sendSingleChunk(p Producer, uuid string, chunkID int, totalChunks int) {
callback: func(id MessageID, producerMessage *ProducerMessage, err error) {
close(doneCh)
},
msg: msg,
callbackOnce: &sync.Once{},
msg: msg,
},
uint32(internal.MaxMessageSize),
)
Expand Down

0 comments on commit a4944a9

Please sign in to comment.