From bf6947bcb2e135d2fab5dc4a66654ebcfef24b85 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期二, 29 八月 2023 10:45:34 +0800
Subject: [PATCH] for h5 root url redirect to index (#898)

---
 funasr/runtime/websocket/funasr-wss-client-2pass.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/funasr/runtime/websocket/funasr-wss-client-2pass.cpp b/funasr/runtime/websocket/funasr-wss-client-2pass.cpp
index f4764f3..e52e316 100644
--- a/funasr/runtime/websocket/funasr-wss-client-2pass.cpp
+++ b/funasr/runtime/websocket/funasr-wss-client-2pass.cpp
@@ -36,9 +36,9 @@
  */
 void WaitABit() {
 #ifdef WIN32
-  Sleep(300);
+  Sleep(500);
 #else
-  usleep(300);
+  usleep(500);
 #endif
 }
 std::atomic<int> wav_index(0);

--
Gitblit v1.9.1