mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-11 11:08:11 -07:00
(tested) add hooks check when ping http route called
This commit is contained in:
@@ -557,6 +557,10 @@ func (ps *peerStore) gc(cutoff time.Time) {
|
||||
}
|
||||
}
|
||||
|
||||
func (*peerStore) Ping() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (ps *peerStore) Stop() stop.Result {
|
||||
c := make(stop.Channel)
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user