Skip to content

Commit

Permalink
Revert "[Gepardec/mega#735] Only enable scheduler in dev mode"
Browse files Browse the repository at this point in the history
This reverts commit fa57867.
  • Loading branch information
Ollitod committed Sep 13, 2024
1 parent 7617561 commit 08a624c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
import static com.gepardec.mega.domain.utils.DateUtils.getFirstDayOfCurrentMonth;

/**
* This class contains all scheduled tasks which are executed by the scheduler.
* Attention: The scheduler is only active in the dev profile.
* When deployed to a staging environment such as main, dev, qa or prod, the scheduler is disabled.
* This is because in a staging environment the services called by the scheduler are invoked via dedicated endpoints
* using a cronjob of OpenShift.
*
* @author Thomas Herzog <herzog.thomas81@gmail.com>
* @since 10/3/2020
*/
Expand Down
4 changes: 1 addition & 3 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GLOBAL Properties
quarkus:
scheduler:
enabled: false
enabled: true

swagger-ui:
always-include: true
Expand Down Expand Up @@ -190,8 +190,6 @@ mega:
## DEV Properties
"%dev":
quarkus:
scheduler:
enabled: true
mailer:
mock: true
datasource:
Expand Down

0 comments on commit 08a624c

Please sign in to comment.