Commit 398ba9cd by huangfusuper

调整任务超时时间

parent 0146bb45
...@@ -13,7 +13,7 @@ import org.springframework.stereotype.Service; ...@@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
*/ */
@Service @Service
public class RunJavaServiceImpl implements RunJavaService { public class RunJavaServiceImpl implements RunJavaService {
@TaskClient(timeout = 30000) @TaskClient
private TaskServer taskServer; private TaskServer taskServer;
@Override @Override
......
...@@ -28,5 +28,5 @@ public @interface TaskClient { ...@@ -28,5 +28,5 @@ public @interface TaskClient {
* 超时时间 * 超时时间
* @return * @return
*/ */
long timeout() default 1000; long timeout() default -1;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment