Skip to content

Commit

Permalink
remove ping on transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
kubemq committed Apr 18, 2021
1 parent 11bc401 commit 3051940
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions KubeMQ.SDK.csharp/Queue/Queue.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using Google.Protobuf;
using KubeMQ.Grpc;
using KubeMQ.SDK.csharp.Basic;
using KubeMQ.SDK.csharp.Queue.Stream;
Expand Down Expand Up @@ -84,7 +83,7 @@ public Queue (string queueName, string clientID, int? maxNumberOfMessagesQueueMe
this._waitTimeSecondsQueueMessages = waitTimeSecondsQueueMessages?? _waitTimeSecondsQueueMessages;
this.addAuthToken (authToken);
_logger = Logger.InitLogger (logger, "Queue");
this.Ping ();
//this.Ping ();
}
/// <summary>
/// Send single message
Expand Down Expand Up @@ -302,7 +301,6 @@ public PingResult Ping () {
PingResult rec = GetKubeMQClient ().Ping (new Empty ());
_logger.LogDebug ($"Queue KubeMQ address:{_kubemqAddress} ping result:{rec}");
return rec;

}

}
Expand Down

0 comments on commit 3051940

Please sign in to comment.