This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git
The following commit(s) were added to refs/heads/master by this push:
new 39dc1f0 sleep for 5s
39dc1f0 is described below
commit 39dc1f0a6b33000a376aac0343f4f357ddb78d4f
Author: ken.lj <[email protected]>
AuthorDate: Sat Jan 29 15:32:46 2022 +0800
sleep for 5s
---
.../main/java/org/apache/dubbo/samples/async/impl/AsyncServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dubbo-samples-async/dubbo-samples-async-provider/src/main/java/org/apache/dubbo/samples/async/impl/AsyncServiceImpl.java
b/dubbo-samples-async/dubbo-samples-async-provider/src/main/java/org/apache/dubbo/samples/async/impl/AsyncServiceImpl.java
index c3fb98f..85425a3 100644
---
a/dubbo-samples-async/dubbo-samples-async-provider/src/main/java/org/apache/dubbo/samples/async/impl/AsyncServiceImpl.java
+++
b/dubbo-samples-async/dubbo-samples-async-provider/src/main/java/org/apache/dubbo/samples/async/impl/AsyncServiceImpl.java
@@ -43,9 +43,9 @@ public class AsyncServiceImpl implements AsyncService {
logger.info("async start");
String embeddedCallResult = null;
try {
+ Thread.sleep(5000);
embeddedCallResult = embeddedService.sayHello("embedded call");
logger.info(" embedded call result is " + embeddedCallResult);
- Thread.sleep(5000);
} catch (InterruptedException e) {
e.printStackTrace();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]