fix(kr_home_controller): 将超时时间从Duration改为毫秒数值
All checks were successful
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 19m56s
Build Windows / build (push) Successful in 7h7m9s

将KRLatencyTester.testMultipleNodes方法的timeout参数从Duration类型改为直接使用毫秒数值,保持与接口定义一致
This commit is contained in:
shanshanzhong 2025-11-09 18:49:33 -08:00
parent 78c20f9ae9
commit 33917e774d

View File

@ -1932,7 +1932,7 @@ class KRHomeController extends GetxController with WidgetsBindingObserver {
final results = await KRLatencyTester.testMultipleNodes(
nodes: nodeAddresses,
concurrency: 10, // 10
timeout: const Duration(seconds: 5),
timeout: 5000, // 5
);
//