mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 03:56:00 +08:00
msg cache
This commit is contained in:
committed by
Xinwei Xiong(cubxxw-openim)
parent
daa716a083
commit
7e38335f0c
@@ -799,6 +799,10 @@ func getSeqUid(uid string, seq uint32) string {
|
||||
return indexGen(uid, seqSuffix)
|
||||
}
|
||||
|
||||
func GetSeqUid(uid string, seq uint32) string {
|
||||
return getSeqUid(uid, seq)
|
||||
}
|
||||
|
||||
func getMsgIndex(seq uint32) int {
|
||||
seqSuffix := seq / singleGocMsgNum
|
||||
var index uint32
|
||||
|
||||
Reference in New Issue
Block a user