(tested) add hooks check when ping http route called

This commit is contained in:
Lawrence, Rendall
2022-05-14 01:36:21 +03:00
parent cf2adad4c9
commit 79c92df0f8
8 changed files with 70 additions and 11 deletions
+4
View File
@@ -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() {