Commit d747ed31 by danmo

Merge remote-tracking branch 'origin/back_end_dev' into back_end_dev

2 parents a1e8b563 8e8077a8
...@@ -28,7 +28,7 @@ public class NetFileUtils { ...@@ -28,7 +28,7 @@ public class NetFileUtils {
public static FileCallable getNetFile(String urlPath){ public static FileCallable getNetFile(String urlPath){
FileCallable fileCallable = new FileCallable(); FileCallable fileCallable = new FileCallable();
webClient.getAbs(urlPath).send().onSuccess(response -> { webClient.getAbs(urlPath).timeout(1000L*60L*10L).send().onSuccess(response -> {
if(response.statusCode() == 200 || response.statusCode() == 302){ if(response.statusCode() == 200 || response.statusCode() == 302){
Buffer buffer = response.body(); Buffer buffer = response.body();
buffer.getByteBuf(); buffer.getByteBuf();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!