Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
more hset
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Feb 10, 2021
1 parent 5d3244b commit 6819b12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func scheduler() {
keys := rdb.Keys(ctx, "*")
groupID, _ := keys.Result()
for _, g := range groupID {
log.Infoln("Running delete...")
message, _ := rdb.HGetAll(ctx, g).Result()
for mid, ts := range message {
intts, _ := strconv.Atoi(ts)
Expand Down

0 comments on commit 6819b12

Please sign in to comment.