mirror of
https://github.com/hibiken/asynq.git
synced 2025-10-24 22:46:11 +08:00
[RFC] Adds Ping() to client/scheduler/server
This commit is contained in:
@@ -320,3 +320,8 @@ func (s *Scheduler) clearHistory() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ping performs a ping against the redis connection.
|
||||
func (s *Scheduler) Ping() error {
|
||||
return s.rdb.Ping()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user