Oppenheymu
Results
issues of
Oppenheymu
### Describe the bug 同一事件循环内批量 dispatch 多条**同频道**消息时(任意适配器同 tick 批量推送均可触发),多个 session 并发执行 `Session.getChannel()` 的 check-then-act(先 SELECT、未命中才 INSERT),未命中的多个 `createChannel` 并发 INSERT 撞 channel 表复合主键 `(id, platform)`,报 `UNIQUE constraint failed: channel.id, channel.platform`。 记录最终由首个...
bug
## 动图 ## 我的想法 计划把它放在 `packages/koishi/readme.md` 的「快速起步」一节 因为感觉闷头提pr不太好,所以先提个issue