This commit is contained in:
qaq
2025-07-14 16:43:31 +08:00
parent 4c0b3a4cf8
commit 48a7a05a69
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ jobs:
if: steps.vite-changes.outputs.vite == 'true'
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--platform linux/amd64 \
--push \
-t bqlpfy/vite-frontend \
./vite-frontend
@@ -102,7 +102,7 @@ jobs:
if: steps.java-changes.outputs.java == 'true'
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--platform linux/amd64 \
--push \
-t bqlpfy/springboot-backend \
./springboot-backend
@@ -324,8 +324,7 @@ public class WebSocketServer extends TextWebSocketHandler {
log.info("节点 {} 当前活跃连接关闭,开始验证并更新状态", nodeId);
// 移除会话映射
WebSocketSession removedSession = nodeSessions.remove(nodeId);
nodeSessions.remove(nodeId);
// 更新节点状态为离线
Node node = nodeService.getById(nodeId);
+5 -1
View File
@@ -16,6 +16,10 @@ export default defineConfig({
},
build: {
outDir: 'dist',
sourcemap: false
sourcemap: false,
minify: false, // 先关闭压缩,排查是否压缩导致
rollupOptions: {
treeshake: false, // 关闭 treeshake(摇树优化),排查是否优化导致
}
}
});