batch to mongo

This commit is contained in:
skiffer-git
2022-05-20 13:01:08 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 3345771bca
commit 5e76a8b3a8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func (d *DataBases) GetUserMaxSeq(uid string) (uint64, error) {
}
//set the largest Seq
func (d *DataBases) SetUserMaxSeq(uid string, maxSeq uint32) error {
func (d *DataBases) SetUserMaxSeq(uid string, maxSeq uint64) error {
key := userIncrSeq + uid
_, err := redis.Uint64(d.Exec("SET", key, maxSeq))
return err