Skip to content

Commit

Permalink
bump: commonsMH and maven
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandreher committed Apr 29, 2024
1 parent e0a7bfc commit 51881f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<java.version>21</java.version>
</properties>

<repositories>
Expand All @@ -31,7 +31,7 @@
<dependency>
<groupId>com.github.marcandreher</groupId>
<artifactId>commonsMH</artifactId>
<version>ecca27c</version>
<version>d947c45</version>
</dependency>
</dependencies>

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/osu/serverlist/Main/Api.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package osu.serverlist.Main;

import java.io.IOException;
import java.util.concurrent.TimeUnit;

import commons.marcandreher.Cache.CacheTimer;
import commons.marcandreher.Commons.Database;
Expand Down Expand Up @@ -68,7 +69,7 @@ public static void main(String[] args) {
cmd.initialize();


CacheTimer ct = new CacheTimer(30, 1, logger);
CacheTimer ct = new CacheTimer(30, 1, TimeUnit.MINUTES);
ct.addAction(new RefreshHeatmap());

}
Expand Down

0 comments on commit 51881f2

Please sign in to comment.