Skip to content

Commit cb52ab3

Browse files
authored
chore: disable virtual threads by default (#2333)
1 parent 96784f1 commit cb52ab3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

sdk/java-sdk-protobuf/src/main/resources/reference.conf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@ kalix {
107107
}
108108

109109
sdk-dispatcher {
110-
executor = "virtual-thread-executor"
111-
virtual-thread-executor {
112-
# if not on JDK 21
113-
fallback="fork-join-executor"
114-
}
110+
# Virtual threads usage can be enabled by changing the executor to be "virtual-thread-executor"
111+
# by default, using the fork join executor for now due to existing issue: https://openjdk.org/jeps/491
112+
executor = "fork-join-executor"
115113
}
116114
}

0 commit comments

Comments
 (0)