File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
java/server/src/org/openqa/grid/internal/utils/configuration Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ public GridConfiguration(GridJsonConfiguration jsonConfig) {
7575
7676 void merge (CommonGridCliOptions cliConfig ) {
7777 super .merge (cliConfig );
78+ ofNullable (cliConfig .getCleanUpCycle ()).ifPresent (v -> cleanUpCycle = v );
7879 ofNullable (cliConfig .getServlets ()).ifPresent (v -> servlets = v );
7980 ofNullable (cliConfig .getWithoutServlets ()).ifPresent (v -> withoutServlets = v );
8081 ofNullable (cliConfig .getCustom ()).ifPresent (v -> custom = v );
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ public GridHubConfiguration(GridHubCliOptions cliConfig) {
9797 this (ofNullable (cliConfig .getConfigFile ()).map (HubJsonConfiguration ::loadFromResourceOrFile )
9898 .orElse (DEFAULT_CONFIG_FROM_JSON ));
9999 super .merge (cliConfig );
100- ofNullable (cliConfig .getCleanUpCycle ()).ifPresent (v -> cleanUpCycle = v );
101100 ofNullable (cliConfig .getNewSessionWaitTimeout ()).ifPresent (v -> newSessionWaitTimeout = v );
102101 ofNullable (cliConfig .getThrowOnCapabilityNotPresent ()).ifPresent (v -> throwOnCapabilityNotPresent = v );
103102 ofNullable (cliConfig .getRegistry ()).ifPresent (v -> registry = v );
You can’t perform that action at this time.
0 commit comments