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:
parent
4684f961c0
commit
af1dcf5044
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user