Skip to content

Commit

Permalink
WIP JPA rewrite. Test cron.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexable777 committed Feb 15, 2024
1 parent 920f8bd commit 74cf47f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.jdbc.core.JdbcTemplate
import org.springframework.scheduling.annotation.EnableAsync
import org.springframework.scheduling.annotation.EnableScheduling
import javax.sql.DataSource


@Configuration
@EnableSchedulerLock(defaultLockAtMostFor = "10m")
@EnableAsync
@EnableScheduling
class SchedulingConfiguration {

@Bean
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-dev-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FSS_CLUSTER: dev-fss
#STS_APIKEY
#PDL_APIKEY

DRAFT_CLEANUP_CRON: 0 0 13 * * *
DRAFT_CLEANUP_CRON: 0 13 13 * * *
MAX_DRAFT_AGE_IN_DAYS: 90

TENANT_ID: 966ac572-f5b7-4bbe-aa88-c76419c0f851
Expand Down

0 comments on commit 74cf47f

Please sign in to comment.