You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/04/12 09:26:25 UTC

[incubator-servicecomb-saga] branch master updated: SCB-480 Update to add the timeout in the GrpcTxEvent

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

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git


The following commit(s) were added to refs/heads/master by this push:
     new 3458114  SCB-480 Update to add the timeout in the GrpcTxEvent
3458114 is described below

commit 3458114206ae271c1242647c79e26651381d9723
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Thu Apr 12 17:10:19 2018 +0800

    SCB-480 Update to add the timeout in the GrpcTxEvent
---
 .../servicecomb/saga/omega/connector/grpc/GrpcClientMessageSender.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/omega/omega-connector/omega-connector-grpc/src/main/java/org/apache/servicecomb/saga/omega/connector/grpc/GrpcClientMessageSender.java b/omega/omega-connector/omega-connector-grpc/src/main/java/org/apache/servicecomb/saga/omega/connector/grpc/GrpcClientMessageSender.java
index 4af0773..5712f57 100644
--- a/omega/omega-connector/omega-connector-grpc/src/main/java/org/apache/servicecomb/saga/omega/connector/grpc/GrpcClientMessageSender.java
+++ b/omega/omega-connector/omega-connector-grpc/src/main/java/org/apache/servicecomb/saga/omega/connector/grpc/GrpcClientMessageSender.java
@@ -101,6 +101,7 @@ public class GrpcClientMessageSender implements MessageSender {
         .setLocalTxId(event.localTxId())
         .setParentTxId(event.parentTxId() == null ? "" : event.parentTxId())
         .setType(event.type().name())
+        .setTimeout(event.timeout())
         .setCompensationMethod(event.compensationMethod())
         .setPayloads(payloads);
 

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.