From 9ba8b64a2dadc26f748791db9bbe80ce12fba854 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Fri, 29 Mar 2024 21:47:54 +0100 Subject: [PATCH] Remove netty --- pom.xml | 33 +++---------------- .../core/impl/rocksdb/DatabaseTasks.java | 2 +- 2 files changed, 5 insertions(+), 30 deletions(-) diff --git a/pom.xml b/pom.xml index 59e8a2d..e2cb1a0 100644 --- a/pom.xml +++ b/pom.xml @@ -33,18 +33,6 @@ - - - - io.netty - netty5-bom - 5.0.0.Alpha6-SNAPSHOT - pom - import - - - - org.rocksdb @@ -87,22 +75,6 @@ gestalt-hocon ${gestalt.version} - - io.netty - netty5-buffer - - - io.netty - netty5-codec-http2 - - - io.netty - netty5-transport-native-io_uring - - - io.netty - netty5-transport-classes-io_uring - org.apache.thrift libthrift @@ -159,7 +131,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.12.1 ${maven.compiler.source} ${maven.compiler.source} @@ -215,6 +187,9 @@ standalone + + false + org.slf4j diff --git a/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/DatabaseTasks.java b/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/DatabaseTasks.java index c66847c..61d6431 100644 --- a/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/DatabaseTasks.java +++ b/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/DatabaseTasks.java @@ -31,7 +31,7 @@ public class DatabaseTasks implements Closeable { try { //noinspection BusyWait Thread.sleep(delayWalFlushConfig.toMillis()); - } catch (InterruptedException _) { + } catch (InterruptedException ignored) { return; } try {