Browse Source

增加plateformService 超时时长

loki.wu 2 years ago
parent
commit
a0c91c70be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/rpc.dart

+ 1 - 1
lib/rpc.dart

@@ -48,7 +48,7 @@ class JsonRpcProxy {
     if (_platformService == null)
       _platformService = PlatformService(
         "http://$platformHost",
-        timeout: 15,
+        timeout: 15000,
       );
     return _platformService!;
   }