msg cache

This commit is contained in:
wenxu12345
2022-05-24 21:34:02 +08:00
parent 49cd31fd41
commit 1246f3aa21
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -893,6 +893,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