This commit is contained in:
@@ -382,7 +382,7 @@ func (p *SyncedPool) OwnerChanged(id CartId, host string) error {
|
||||
}
|
||||
|
||||
func DoPing(host *RemoteHost) error {
|
||||
SendPacket(host.connection, Ping, func(w io.Writer) error {
|
||||
SendPacket(host, Ping, func(w io.Writer) error {
|
||||
return nil
|
||||
})
|
||||
_, err := host.Expect(Pong, time.Second)
|
||||
|
||||
Reference in New Issue
Block a user