Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
crossoverJie committed Mar 13, 2024
1 parent c50d119 commit f659d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulsar/producer_partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func (p *partitionProducer) reconnectToBroker() {
}

var bo backoff.Policy
if p.options.BackoffPolicy == nil {
if p.options.BackoffPolicy != nil {
bo = p.options.BackoffPolicy
} else {
bo = &backoff.DefaultBackoff{}
Expand Down

0 comments on commit f659d3f

Please sign in to comment.