mirror of
https://github.com/status-im/status-go.git
synced 2025-02-03 18:37:24 +00:00
fix: mailserver response time (#2486)
RTTMs were being set nil when the response time was less than 1ms
This commit is contained in:
parent
ee41e30881
commit
fd3bcbf8a1
@ -31,7 +31,7 @@ func (pr *PingResult) Update(rttMs int, err error) {
|
||||
errStr := err.Error()
|
||||
pr.Err = &errStr
|
||||
}
|
||||
if rttMs > 0 {
|
||||
if rttMs >= 0 {
|
||||
pr.RTTMs = &rttMs
|
||||
} else {
|
||||
pr.RTTMs = nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user