[grid] Removing default value for `max-threads` to avoid noisy warnings due to deprecation.
[skip ci]
package org.openqa.selenium.grid.server;
-import static org.openqa.selenium.grid.config.StandardGridRoles.HTTPD_ROLE;
-
import com.google.auto.service.AutoService;
import com.beust.jcommander.Parameter;
import java.util.Collections;
import java.util.Set;
+import static org.openqa.selenium.grid.config.StandardGridRoles.HTTPD_ROLE;
+
@AutoService(HasRoles.class)
public class BaseServerFlags implements HasRoles {
+ "Default value is: (available processors) * 3.",
names = "--max-threads")
@ConfigValue(section = SERVER_SECTION, name = "max-threads", example = "12")
- private int maxThreads = Runtime.getRuntime().availableProcessors() * 3;
+ private int maxThreads;
@Parameter(
names = "--allow-cors",
