Przeglądaj źródła

增加plateformService 超时时长

loki.wu 2 lat temu
rodzic
commit
a0c91c70be
1 zmienionych plików z 1 dodań i 1 usunięć
  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!;
   }