You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by nk...@apache.org on 2022/10/03 03:49:46 UTC

[pulsar-client-node] branch master updated: format ProducerConfig.cc (#233)

This is an automated email from the ASF dual-hosted git repository.

nkurihar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 73d2715  format ProducerConfig.cc (#233)
73d2715 is described below

commit 73d2715d7a0c75fc91ee9b6a6eb6c478a738ff6f
Author: Yuto Furuta <mz...@gmail.com>
AuthorDate: Mon Oct 3 12:49:41 2022 +0900

    format ProducerConfig.cc (#233)
    
    Co-authored-by: yfuruta <yf...@yahoo-corp.jp>
---
 src/ProducerConfig.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ProducerConfig.cc b/src/ProducerConfig.cc
index 2be94df..5170a19 100644
--- a/src/ProducerConfig.cc
+++ b/src/ProducerConfig.cc
@@ -100,8 +100,8 @@ ProducerConfig::ProducerConfig(const Napi::Object& producerConfig) : topic("") {
     int32_t maxPendingMessagesAcrossPartitions =
         producerConfig.Get(CFG_MAX_PENDING_ACROSS_PARTITIONS).ToNumber().Int32Value();
     if (maxPendingMessagesAcrossPartitions > 0) {
-      pulsar_producer_configuration_set_max_pending_messages_across_partitions(this->cProducerConfig.get(),
-                                                             maxPendingMessagesAcrossPartitions);
+      pulsar_producer_configuration_set_max_pending_messages_across_partitions(
+          this->cProducerConfig.get(), maxPendingMessagesAcrossPartitions);
     }
   }