mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-27 12:12:28 +01:00
Fix data race
This commit is contained in:
parent
b6120cf6d7
commit
534fca0d3b
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ func (s *Server) visitor(r *http.Request) *visitor {
|
||||||
s.visitors[ip] = newVisitor(s.config)
|
s.visitors[ip] = newVisitor(s.config)
|
||||||
return s.visitors[ip]
|
return s.visitors[ip]
|
||||||
}
|
}
|
||||||
v.seen = time.Now()
|
v.Keepalive()
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue