Browse Source

增加rpc通讯超时时间

loki.wu 1 year ago
parent
commit
400a2a4384
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/client_base.dart

+ 1 - 1
lib/client_base.dart

@@ -15,7 +15,7 @@ const _C_DIO_FUTURE_ERR_KEYWORDS = "browser_adapter";
 class JsonRpcClientBase {
   /// 默认超时时间
   // ignore: non_constant_identifier_names
-  static int DEAULT_TIMEOUT = 3000;
+  static int DEAULT_TIMEOUT = 5000;
 
   late int _timeout;