Clean up unused timeout logic
With commit the browserTimeout logic is no longer used when creating the http client. This removes that logic since it's unused.
@@ -201,14 +201,6 @@ public String toString() {
private HttpClient getClient(URL url) {
- GridRegistry reg = slot.getProxy().getRegistry();
- long browserTimeout = TimeUnit.SECONDS.toMillis(reg.getHub().getConfiguration().browserTimeout);
- if (browserTimeout > 0) {
- final long selenium_server_cleanup_cycle = browserTimeout / 10;
- browserTimeout += (selenium_server_cleanup_cycle + MAX_NETWORK_LATENCY);
- browserTimeout *=2; // Lets not let this happen too often
- }
-
return slot.getProxy().getHttpClient(url);
}
