mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-11 19:56:37 +08:00
....
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
|||||||
if: steps.vite-changes.outputs.vite == 'true'
|
if: steps.vite-changes.outputs.vite == 'true'
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64 \
|
||||||
--push \
|
--push \
|
||||||
-t bqlpfy/vite-frontend \
|
-t bqlpfy/vite-frontend \
|
||||||
./vite-frontend
|
./vite-frontend
|
||||||
@@ -102,7 +102,7 @@ jobs:
|
|||||||
if: steps.java-changes.outputs.java == 'true'
|
if: steps.java-changes.outputs.java == 'true'
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64 \
|
||||||
--push \
|
--push \
|
||||||
-t bqlpfy/springboot-backend \
|
-t bqlpfy/springboot-backend \
|
||||||
./springboot-backend
|
./springboot-backend
|
||||||
|
|||||||
@@ -324,8 +324,7 @@ public class WebSocketServer extends TextWebSocketHandler {
|
|||||||
|
|
||||||
log.info("节点 {} 当前活跃连接关闭,开始验证并更新状态", nodeId);
|
log.info("节点 {} 当前活跃连接关闭,开始验证并更新状态", nodeId);
|
||||||
|
|
||||||
// 移除会话映射
|
nodeSessions.remove(nodeId);
|
||||||
WebSocketSession removedSession = nodeSessions.remove(nodeId);
|
|
||||||
|
|
||||||
// 更新节点状态为离线
|
// 更新节点状态为离线
|
||||||
Node node = nodeService.getById(nodeId);
|
Node node = nodeService.getById(nodeId);
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
sourcemap: false
|
sourcemap: false,
|
||||||
|
minify: false, // 先关闭压缩,排查是否压缩导致
|
||||||
|
rollupOptions: {
|
||||||
|
treeshake: false, // 关闭 treeshake(摇树优化),排查是否优化导致
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user