Skip to content

Commit

Permalink
[WFCORE-6728] Tweak default if there is no reloaded stability
Browse files Browse the repository at this point in the history
  • Loading branch information
kabir committed Mar 21, 2024
1 parent 594b8c8 commit 05006ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ ManagedAuditLogger createAuditLogger() {

ServerEnvironment recalculateForReload(RunningModeControl runningModeControl) {
if (runningModeControl.isReloaded()) {
Stability stability = runningModeControl.getReloadedStability() != null ? runningModeControl.getReloadedStability() : productConfig.getDefaultStability();
Stability stability = runningModeControl.getReloadedStability() != null ? runningModeControl.getReloadedStability() : this.stability;
if (stability != this.stability) {
System.setProperty(ProcessEnvironment.STABILITY, stability.toString());

Expand Down

0 comments on commit 05006ab

Please sign in to comment.