docker-compose fix

This commit is contained in:
wangchuxiao
2022-07-20 12:05:57 +08:00
parent 656241c23f
commit 8ee4ca0357
2 changed files with 7 additions and 7 deletions
+4
View File
@@ -40,6 +40,10 @@ func init() {
}
n += len(keys)
fmt.Printf("\n %s key found %d keys: %v, current cursor %d\n", key, n, keys, cursor)
err = db.DB.RDB.Del(context.Background(), keys...).Err()
if err != nil {
panic(err.Error())
}
if cursor == 0 {
break
}