mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-05 20:11:14 +08:00
remove log
This commit is contained in:
parent
2adbf9f686
commit
570c0cb9a1
@ -42,17 +42,17 @@ func main() {
|
|||||||
for {
|
for {
|
||||||
uidList, err := im_mysql_model.SelectAllUID()
|
uidList, err := im_mysql_model.SelectAllUID()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError("999999", err.Error())
|
//log.NewError("999999", err.Error())
|
||||||
} else {
|
} else {
|
||||||
for _, v := range uidList {
|
for _, v := range uidList {
|
||||||
minSeq, err := commonDB.DB.GetMinSeqFromMongo(v)
|
minSeq, err := commonDB.DB.GetMinSeqFromMongo(v)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError("999999", "get user minSeq err", err.Error(), v)
|
//log.NewError("999999", "get user minSeq err", err.Error(), v)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
err := commonDB.DB.SetUserMinSeq(v, minSeq)
|
err := commonDB.DB.SetUserMinSeq(v, minSeq)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError("999999", "set user minSeq err", err.Error(), v)
|
//log.NewError("999999", "set user minSeq err", err.Error(), v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
time.Sleep(time.Duration(100) * time.Millisecond)
|
time.Sleep(time.Duration(100) * time.Millisecond)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user