Skip to content

Commit

Permalink
shutdown now in closing data writer
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaa4eb committed Jan 3, 2024
1 parent 6335a46 commit dc77ccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ulyp-agent/lombok.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is generated by the 'io.freefair.lombok' Gradle plugin
config.stopBubbling = true
# This file is generated by the 'io.freefair.lombok' Gradle plugin
config.stopBubbling = true
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private void writeAsync(Runnable runnable) {
@SneakyThrows
public synchronized void close() {
try {
executorService.shutdown();
executorService.shutdownNow();
executorService.awaitTermination(30, TimeUnit.SECONDS);
} finally {
delegate.close();
Expand Down

0 comments on commit dc77ccd

Please sign in to comment.