Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Deaktiverer ArbeidssokerperiodeScheduler midlertidig
Browse files Browse the repository at this point in the history
  • Loading branch information
maccyber committed Nov 7, 2023
1 parent 88e72ae commit 57197c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v3

# - name: Set up Maven cache
# uses: actions/cache@v3
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
# restore-keys: ${{ runner.os }}-maven-
- name: Set up Maven cache
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ArbeidssokerperiodeScheduler(
private val arbeidssokerperiodeService: ArbeidssokerperiodeService,
private val arbeidssokerperiodeProducer: ArbeidssokerperiodeProducer,
) {
@Scheduled(cron = "* * * * * *")
// @Scheduled(cron = "* * * * * *")
fun start() {
if (!leaderElectionClient.isLeader) {
return
Expand Down

0 comments on commit 57197c4

Please sign in to comment.