fix: 仅向已握手连接推送并拆分调度循环

This commit is contained in:
Nixevol
2026-09-30 15:46:25 +08:00
parent 825e13cfdf
commit eca4c836f1
14 changed files with 1192 additions and 290 deletions
+3
View File
@@ -276,6 +276,9 @@ INSERT INTO messages(
if result.State == StateDispatched {
a.wakeReceivers(ctx, result.ID, senderID)
}
if result.State == StateScheduled {
a.NotifyDispatch()
}
return result, nil
}