mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
docker-compose fix
This commit is contained in:
parent
8ee4ca0357
commit
85f5c59781
@ -40,10 +40,12 @@ func init() {
|
|||||||
}
|
}
|
||||||
n += len(keys)
|
n += len(keys)
|
||||||
fmt.Printf("\n %s key found %d keys: %v, current cursor %d\n", key, n, keys, cursor)
|
fmt.Printf("\n %s key found %d keys: %v, current cursor %d\n", key, n, keys, cursor)
|
||||||
|
if len(keys) > 0 {
|
||||||
err = db.DB.RDB.Del(context.Background(), keys...).Err()
|
err = db.DB.RDB.Del(context.Background(), keys...).Err()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if cursor == 0 {
|
if cursor == 0 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user