File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/client/src/org/openqa/selenium/remote/service Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4747public class DriverCommandExecutor extends HttpCommandExecutor implements Closeable {
4848
4949 private final DriverService service ;
50- private final ExecutorService executorService = Executors .newFixedThreadPool (2 , r -> {
50+ private static final ExecutorService executorService = Executors .newFixedThreadPool (2 , r -> {
5151 Thread thread = new Thread (r );
5252 thread .setName ("Driver Command Executor" );
5353 thread .setDaemon (true );
Original file line number Diff line number Diff line change 6060 */
6161public class DriverService implements Closeable {
6262 protected static final Duration DEFAULT_TIMEOUT = Duration .ofSeconds (20 );
63- private final ExecutorService executorService = Executors .newFixedThreadPool (2 , r -> {
63+ private static final ExecutorService executorService = Executors .newFixedThreadPool (2 , r -> {
6464 Thread thread = new Thread (r );
6565 thread .setName ("Driver Service Executor" );
6666 thread .setDaemon (true );
You can’t perform that action at this time.
0 commit comments