From b726dc97538b7d4ba71fd06c14161017dd67c2b7 Mon Sep 17 00:00:00 2001 From: xubinbin <1323875150@qq.com> Date: 星期三, 10 五月 2023 15:38:22 +0800 Subject: [PATCH] "@schedule"是Spring框架提供的一种定时任务执行机制,默认情况下它是单线程执行,项目中多次使用fixedRate按指定频率执行任务(不管前面任务是否已经完成),在同时执行多个定时任务时可能会出现阻塞和性能问题,为了解决这种单线程瓶颈问题,将定时任务的执行机制改为支持多线程 --- doc/_content/introduction/compile.md | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/_content/introduction/compile.md b/doc/_content/introduction/compile.md index b208685..1a9d58b 100644 --- a/doc/_content/introduction/compile.md +++ b/doc/_content/introduction/compile.md @@ -69,7 +69,7 @@ ### 5.2 缂栬瘧鍓嶇椤甸潰 ```shell script cd wvp-GB28181-pro/web_src/ -npm --registry=https://registry.npm.taobao.org install +npm --registry=https://registry.npmmirror.com install npm run build ``` 缂栬瘧濡傛灉鎶ラ敊, 涓�鑸兘鏄綉缁滈棶棰�, 瀵艰嚧鐨勪緷璧栧寘涓嬭浇澶辫触 @@ -77,13 +77,18 @@ **缂栬瘧瀹屾垚涓�鑸槸杩欎釜鏍峰瓙锛屼腑闂存病鏈夋姤绾㈢殑閿欒淇℃伅**  -### 5.3 鎵撳寘椤圭洰, 鐢熸垚鍙墽琛宩ar +### 5.3 鐢熸垚鍙墽琛宩ar ```bash cd wvp-GB28181-pro mvn package ``` +### 5.4 鐢熸垚war +```bash +cd wvp-GB28181-pro +mvn package -P war +``` 缂栬瘧濡傛灉鎶ラ敊, 涓�鑸兘鏄綉缁滈棶棰�, 瀵艰嚧鐨勪緷璧栧寘涓嬭浇澶辫触 -缂栬瘧瀹屾垚鍚庡湪target鐩綍涓嬪嚭鐜皐vp-pro-***.jar銆� +缂栬瘧瀹屾垚鍚庡湪target鐩綍涓嬪嚭鐜皐vp-pro-***.jar/wvp-pro-***.war銆� 鎺ヤ笅鏉閰嶇疆鏈嶅姟](./_content/introduction/config.md) -- Gitblit v1.8.0