File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
testcontainers/src/main/java/org/testcontainers/containers/tqe Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 22
33## [ Unreleased]
44
5+ ### Bug fixes
6+
7+ - Fix a memory leak due to the use of a local thread pool
8+
59### Spring-data
610- Add ` tarantool-spring-data-35 ` module with support for Spring Boot 3.5.x and Spring Data 3.5
711
Original file line number Diff line number Diff line change 1010import java .util .Map ;
1111import java .util .concurrent .CompletableFuture ;
1212import java .util .concurrent .CopyOnWriteArrayList ;
13- import java .util .concurrent .Executor ;
14- import java .util .concurrent .Executors ;
1513
1614import org .slf4j .Logger ;
1715import org .slf4j .LoggerFactory ;
@@ -71,8 +69,6 @@ public synchronized void stop() {
7169
7270 private static void startParallel (
7371 Map <String , ? extends Startable > containers , TQEConfigurator configurator ) {
74-
75- final Executor executor = Executors .newFixedThreadPool (containers .size ());
7672 final List <CompletableFuture <?>> futures = new ArrayList <>(containers .size ());
7773 final CopyOnWriteArrayList <Throwable > errors = new CopyOnWriteArrayList <>();
7874
@@ -87,8 +83,7 @@ private static void startParallel(
8783 LOGGER .error ("Error starting TQE container [container_name='{}']" , name , e );
8884 errors .add (e );
8985 }
90- },
91- executor )));
86+ })));
9287
9388 CompletableFuture .allOf (futures .toArray (new CompletableFuture [] {})).join ();
9489
You can’t perform that action at this time.
0 commit comments