Disabled evaluation scheduler and increased evaluation duration
This commit is contained in:
@@ -170,7 +170,7 @@ public class ApplicationEvaluationDao {
|
||||
Long hubId = application.getHubId();
|
||||
HubEntity hub = hubService.valdateHub(hubId);
|
||||
|
||||
Long initialDays = (hub != null) ? hub.getEvaluationExpirationDays() : 30L;
|
||||
Long initialDays = (hub != null) ? hub.getEvaluationExpirationDays() : 365L;
|
||||
|
||||
entity.setApplicationId(application.getId());
|
||||
entity.setAssignedApplicationsEntity(assignedApplications);
|
||||
|
||||
@@ -45,7 +45,7 @@ public class ApplicationEvaluationScheduler {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(ApplicationEvaluationScheduler.class);
|
||||
|
||||
@Scheduled(cron = "0 0 2 * * ?") // Runs daily at midnight
|
||||
// @Scheduled(cron = "0 0 2 * * ?") // Runs daily at midnight
|
||||
public void updateExpiredEvaluations() {
|
||||
log.info("Starting the Application Evaluation Expiration scheduler...");
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user