提高ws_server_start优先级
authorCaisking <Casiking@zhihuishixun.com>
Fri, 26 Sep 2025 06:31:38 +0000 (14:31 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Fri, 26 Sep 2025 06:31:38 +0000 (14:31 +0800)
code/sdk/zhihui/ai_old/websocket_server_manager.cpp

index b406eee..41a234d 100644 (file)
@@ -199,7 +199,7 @@ errcode_t ws_server_start(ws_server_handle_t *handle)
     
     task_cfg.create_queue_handle = NULL;
     task_cfg.attr.name = handle->config.name;
-    task_cfg.attr.priority = (osPriority_t)16;
+    task_cfg.attr.priority = (osPriority_t)40;
     task_cfg.attr.stack_size =0x2000;// handle->config.stack_size;
     task_cfg.func = ws_server_thread_func;
     task_cfg.use_mem = USE_EXTEND_MEM;