2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 23:32:17 +08:00

Fix monitor command

This commit is contained in:
Ken Hibino 2019-12-04 07:18:15 -08:00
parent 4684f961c0
commit af1dcf5044

View File

@ -20,7 +20,7 @@ func main() {
Addr: "localhost:6379", Addr: "localhost:6379",
DB: 2, DB: 2,
}) })
r := rdb.NewClient(c) r := rdb.NewRDB(c)
for { for {
stats, err := r.CurrentStats() stats, err := r.CurrentStats()