Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
One more iteration of refactoring (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillbilchenko authored May 25, 2020
1 parent d148c9d commit d1a5c55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ loop:
}
if r.Header["X-Selenoid-No-Wait"] == nil && uniformDistribution {
confLock.RLock()
listHosts, _, _ := browsers.find(browser, version, platform, newSet(), newSet())
hosts, version, excludedRegions = browsers.find(browser, version, platform, newSet(), newSet())
confLock.RUnlock()
h, _ = findFirstNodeByQueue(&listHosts, &confLock)
h, _ = findFirstNodeByQueue(&hosts, &confLock)
}
if h == nil {
break loop
Expand Down

0 comments on commit d1a5c55

Please sign in to comment.