修复会话切换兼容并重新打包发布
This commit is contained in:
@@ -9172,6 +9172,7 @@ wss.on('connection', (ws, req) => {
|
||||
features: {
|
||||
usageStatistics: USAGE_STATISTICS_ENABLED,
|
||||
taskBoard: TASK_BOARD_ENABLED,
|
||||
clientHeartbeat: true,
|
||||
},
|
||||
});
|
||||
sendSessionList(ws);
|
||||
@@ -9188,6 +9189,12 @@ wss.on('connection', (ws, req) => {
|
||||
}
|
||||
|
||||
switch (msg.type) {
|
||||
case 'client_heartbeat':
|
||||
wsSend(ws, {
|
||||
type: 'client_heartbeat_ack',
|
||||
requestId: String(msg.requestId || ''),
|
||||
});
|
||||
break;
|
||||
case 'task_board_query':
|
||||
case 'task_tracking_set':
|
||||
case 'task_status_set':
|
||||
|
||||
Reference in New Issue
Block a user