提交 38f26edf 编写于 作者: Z zhong_ning

fix bug

Signed-off-by: Nzhong_ning <zhong_ning@hoperun.com>
上级 6e579a6b
......@@ -182,9 +182,9 @@ int SplitString(char *srcPtr, char **dstPtr, int maxNum)
void WaitForFile(const char *source, unsigned int maxCount)
{
if (maxCount > WAIT_MAX_COUNT ) {
INIT_LOGE("WaitForFile max time is 50ms");
return;
if (maxCount > WAIT_MAX_COUNT) {
INIT_LOGE("WaitForFile max time is 5s");
maxCount = WAIT_MAX_COUNT;
}
struct stat sourceInfo;
unsigned int waitTime = 500000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册