diff --git a/runtime/websocket/bin/funasr-wss-server-2pass.cpp b/runtime/websocket/bin/funasr-wss-server-2pass.cpp index f0a4251d4..89fe16b29 100644 --- a/runtime/websocket/bin/funasr-wss-server-2pass.cpp +++ b/runtime/websocket/bin/funasr-wss-server-2pass.cpp @@ -99,11 +99,11 @@ int main(int argc, char* argv[]) { "0.0.0.0", "string"); TCLAP::ValueArg port("", "port", "port", false, 10095, "int"); TCLAP::ValueArg io_thread_num("", "io-thread-num", "io thread num", - false, 8, "int"); + false, 2, "int"); TCLAP::ValueArg decoder_thread_num( "", "decoder-thread-num", "decoder thread num", false, 8, "int"); TCLAP::ValueArg model_thread_num("", "model-thread-num", - "model thread num", false, 4, "int"); + "model thread num", false, 2, "int"); TCLAP::ValueArg certfile( "", "certfile", diff --git a/runtime/websocket/bin/funasr-wss-server.cpp b/runtime/websocket/bin/funasr-wss-server.cpp index 9c3af70e8..83c9a79e7 100644 --- a/runtime/websocket/bin/funasr-wss-server.cpp +++ b/runtime/websocket/bin/funasr-wss-server.cpp @@ -91,7 +91,7 @@ int main(int argc, char* argv[]) { "0.0.0.0", "string"); TCLAP::ValueArg port("", "port", "port", false, 10095, "int"); TCLAP::ValueArg io_thread_num("", "io-thread-num", "io thread num", - false, 8, "int"); + false, 2, "int"); TCLAP::ValueArg decoder_thread_num( "", "decoder-thread-num", "decoder thread num", false, 8, "int"); TCLAP::ValueArg model_thread_num("", "model-thread-num",