stupid mistake
This commit is contained in:
@ -515,7 +515,7 @@ func (server *Server) fastesUpstream(r *http.Request, lastModified time.Time) (r
|
|||||||
updateCh <- idx
|
updateCh <- idx
|
||||||
|
|
||||||
for cancelIdx, cancel := range cancelFuncs {
|
for cancelIdx, cancel := range cancelFuncs {
|
||||||
if cancelIdx == resultIdx || cancel == nil {
|
if cancelIdx == idx || cancel == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
cancel()
|
cancel()
|
||||||
|
Reference in New Issue
Block a user