Skip to content

Commit 6cbe429

Browse files
committed
Use 1-thread pool
1 parent 459e94e commit 6cbe429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reactive-programming/src/main/java/com/example/Application.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
public class Application {
77

88
public static void main(String[] args) {
9-
ExecutorService threadPool = Executors.newFixedThreadPool(2);
9+
ExecutorService threadPool = Executors.newFixedThreadPool(1);
1010

1111
for (int u = 1; u <= 10; u++) {
1212
var user = "User " + u;

0 commit comments

Comments
 (0)