From e7f13a92b568912bcec07d3d18e3cdf433ed86f4 Mon Sep 17 00:00:00 2001 From: liangshenglin1 Date: Sun, 25 Jul 2021 13:06:33 +0000 Subject: [PATCH] wait 30 seconds for softbus server ready --- services/samgr/native/source/sa_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/samgr/native/source/sa_main.cpp b/services/samgr/native/source/sa_main.cpp index 030f394f..62a51811 100755 --- a/services/samgr/native/source/sa_main.cpp +++ b/services/samgr/native/source/sa_main.cpp @@ -26,7 +26,7 @@ using namespace OHOS; void startDBinderService(OHOS::sptr manager) { - int time = 15; + int time = 30; while (time-- > 0) { sleep(1); } -- Gitee