Skip to content

Commit dbb6d63

Browse files
authored
Merge pull request #1004: [direct-io-pubsub] do not shutdown executor in PubSubWriter (might be shared)
2 parents 809e330 + 6120f94 commit dbb6d63

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

direct/io-pubsub/module/src/main/java/cz/o2/proxima/direct/io/pubsub/AbstractPubSubWriter.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import java.io.IOException;
3131
import java.net.URI;
3232
import java.util.concurrent.ExecutorService;
33-
import java.util.concurrent.TimeUnit;
3433
import java.util.concurrent.atomic.AtomicInteger;
3534
import javax.annotation.Nullable;
3635
import lombok.extern.slf4j.Slf4j;
@@ -140,9 +139,6 @@ public synchronized void close() {
140139
flightLock.wait(100);
141140
}
142141
}
143-
executor.shutdown();
144-
executor.awaitTermination(10, TimeUnit.SECONDS);
145-
executor = null;
146142
publisher.shutdown();
147143
} catch (Exception ex) {
148144
log.warn("Failed to shutdown publisher {}", publisher, ex);

0 commit comments

Comments
 (0)