You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2019/11/08 07:12:08 UTC

[deltaspike] branch master updated: DELTASPIKE-1396 switch default to false for backward compat reasons

This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git


The following commit(s) were added to refs/heads/master by this push:
     new c7b3a2e  DELTASPIKE-1396 switch default to false for backward compat reasons
c7b3a2e is described below

commit c7b3a2ea084c40066b533de13f57b28eb21da876
Author: Mark Struberg <st...@apache.org>
AuthorDate: Fri Nov 8 07:58:52 2019 +0100

    DELTASPIKE-1396 switch default to false for backward compat reasons
    
    Since the deltaspike.scheduler.force_stop logic was inverted we now
    also have to invert the default from TRUE to FALSE as noted by
    Gary Hodgson.
---
 .../java/org/apache/deltaspike/scheduler/impl/SchedulerBaseConfig.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deltaspike/modules/scheduler/impl/src/main/java/org/apache/deltaspike/scheduler/impl/SchedulerBaseConfig.java b/deltaspike/modules/scheduler/impl/src/main/java/org/apache/deltaspike/scheduler/impl/SchedulerBaseConfig.java
index 127020e..40dc7b6 100644
--- a/deltaspike/modules/scheduler/impl/src/main/java/org/apache/deltaspike/scheduler/impl/SchedulerBaseConfig.java
+++ b/deltaspike/modules/scheduler/impl/src/main/java/org/apache/deltaspike/scheduler/impl/SchedulerBaseConfig.java
@@ -74,7 +74,7 @@ public interface SchedulerBaseConfig extends DeltaSpikeBaseConfig
         Boolean FORCE_STOP = ConfigResolver.resolve("deltaspike.scheduler.force_stop")
                 .as(Boolean.class)
                 .withCurrentProjectStage(true)
-                .withDefault(Boolean.TRUE)
+                .withDefault(Boolean.FALSE)
                 .getValue();
 
         Integer DELAYED_START_IN_SECONDS = ConfigResolver.resolve("deltaspike.scheduler.delayed_start_in_seconds")