mirror of
https://github.com/hibiken/asynq.git
synced 2026-06-19 10:37:39 +08:00
Fix monitor command
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user