Kaka

Results 2 comments of Kaka

An example: ``` Go if jobs, err := client.GetMulti(10, 20*time.Second, queues...); err != nil && err != redis.ErrNil { log.Println(err) } ``` If `jobs` is nil, there may be an...

You can jump in this line. ``` Go vals, err := redis.Values(c.conn.Do("GETJOB", args...)) ``` And the `err` returned here for a timeout is `redis.ErrNil`. If you don't want to keep...