fix: 按 K-00 约定修复 Go SDK 断线重交与退避

This commit is contained in:
Nixevol
2026-09-30 16:24:13 +08:00
parent 3749b9bdf1
commit f6f8ccf269
20 changed files with 1544 additions and 324 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ func TestDedupReack(t *testing.T) {
msg, _ := marshalJSON(map[string]any{
"v": 1, "type": "msg", "id": "m1", "from": "a",
"to": map[string]any{"kind": "endpoint", "id": "ep1"},
"body": map[string]any{"enc": "utf8", "data": "hi"},
"to": map[string]any{"kind": "endpoint", "id": "ep1"},
"body": map[string]any{"enc": "utf8", "data": "hi"},
"send_at_ms": 1,
})
fake.InjectDown(msg)