Parcourir la source

增加plateformService 超时时长

loki.wu il y a 2 ans
Parent
commit
a0c91c70be
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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!;
   }