Skip to content

Commit f6389ec

Browse files
committed
Upgrade minum
1 parent 5ff7e18 commit f6389ec

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repositories {
4646
}
4747

4848
dependencies {
49-
implementation("com.renomad:minum:8.2.0")
49+
implementation("com.renomad:minum:8.3.2")
5050

5151
testImplementation("org.junit.jupiter:junit-jupiter:5.7.1")
5252
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

src/main/java/tanin/ejwf/MinumBuilder.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ public static FullSystem build(int port) {
5454
props.setProperty("LOG_LEVELS", "ASYNC_ERROR,AUDIT");
5555
props.setProperty("IS_THE_BRIG_ENABLED", "false");
5656

57-
var context = new Context(Executors.newVirtualThreadPerTaskExecutor(), new Constants(props));
58-
context.setLogger(new Logger(context.getConstants(), context.getExecutorService(), "primary logger"));
57+
var executor = Executors.newVirtualThreadPerTaskExecutor();
58+
var constants = new Constants(props);
59+
var context = new Context(executor, constants, new Logger(constants, executor, "primary logger"));
5960
var minum = new FullSystem(context).start();
6061
var wf = minum.getWebFramework();
6162

0 commit comments

Comments
 (0)