fix(sync): add SSE heartbeat and alive status (#223)

This commit is contained in:
Lihengwannafly
2026-02-28 01:46:21 +08:00
committed by GitHub
parent 4ace791aa4
commit 1942f088ff
11 changed files with 547 additions and 17 deletions
+3
View File
@@ -225,6 +225,9 @@ export default {
'syncing.title': 'Syncing…',
'syncing.message': 'Your data is being synchronized.',
'reconnecting.message': 'Reconnecting...',
'reconnecting.reason.error': 'stream error',
'reconnecting.reason.closed': 'stream closed',
'reconnecting.reason.heartbeatTimeout': 'heartbeat timeout',
// Send blocked
'send.blocked.title': 'Cannot send message',
+3
View File
@@ -227,6 +227,9 @@ export default {
'syncing.title': '同步中…',
'syncing.message': '正在同步您的数据。',
'reconnecting.message': '正在重新连接...',
'reconnecting.reason.error': '流连接错误',
'reconnecting.reason.closed': '流连接已关闭',
'reconnecting.reason.heartbeatTimeout': '心跳超时',
// Send blocked
'send.blocked.title': '无法发送消息',