Skip to content

Commit a0f7e69

Browse files
committed
Rollback matches in parallel
1 parent 4143867 commit a0f7e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/ru/croccode/hypernull/server/HyperNull.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private void runMatch(MatchMode mode, List<MatchRequest> matchRequests) {
119119
.map(r -> r.getBotName() + " [" + r.getMode() + "]")
120120
.collect(Collectors.joining(", "));
121121
System.out.println("Starting match " + matchId + ": " + bots);
122-
ThreadPools.matchPool().submit(new MatchRunner(match, botSessions));
122+
new MatchRunner(match, botSessions).run();
123123
}
124124
}
125125

0 commit comments

Comments
 (0)