You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2021/08/23 13:24:38 UTC
[airavata-mft] branch develop updated: Increasing polling timeout
for consul
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
The following commit(s) were added to refs/heads/develop by this push:
new ce2c15f Increasing polling timeout for consul
ce2c15f is described below
commit ce2c15fecaf15d9c30031ac369e574f7a302d93e
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Mon Aug 23 09:24:30 2021 -0400
Increasing polling timeout for consul
---
admin/src/main/java/org/apache/airavata/mft/admin/SyncRPCClient.java | 2 +-
.../mft/resource/server/handler/GenericResourceServiceHandler.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/src/main/java/org/apache/airavata/mft/admin/SyncRPCClient.java b/admin/src/main/java/org/apache/airavata/mft/admin/SyncRPCClient.java
index 19fd30e..77fcf87 100644
--- a/admin/src/main/java/org/apache/airavata/mft/admin/SyncRPCClient.java
+++ b/admin/src/main/java/org/apache/airavata/mft/admin/SyncRPCClient.java
@@ -108,6 +108,6 @@ public class SyncRPCClient {
}
public SyncRPCResponse sendSyncRequest(SyncRPCRequest request) throws MFTConsulClientException, InterruptedException {
- return sendSyncRequest(request, 10000);
+ return sendSyncRequest(request, 100000);
}
}
diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java
index 491cea2..5ed85e4 100644
--- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java
+++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java
@@ -33,7 +33,7 @@ public class GenericResourceServiceHandler extends GenericResourceServiceGrpc.Ge
logger.error("Failed in retrieving generic resource with id {}", request.getResourceId(), e);
responseObserver.onError(Status.INTERNAL.withCause(e)
- .withDescription("Failed in retrieving GCS resource with id " + request.getResourceId())
+ .withDescription("Failed in retrieving Generic resource with id " + request.getResourceId())
.asRuntimeException());
}
}