Skip to content

Commit e322df8

Browse files
Fix comment
1 parent 97cc90c commit e322df8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

temporal-sdk/src/main/java/io/temporal/internal/worker/BasePoller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public CompletableFuture<Void> shutdown(ShutdownManager shutdownManager, boolean
5656
}
5757

5858
return shutdownManager
59-
// it's ok to forcefully shutdown pollers, especially because they stuck in a long poll call
60-
// we don't lose any progress doing that
59+
// it's ok to forcefully shutdown pollers, because they are stuck in a long poll call
60+
// so we don't risk loosing any progress doing that.
6161
.shutdownExecutorNow(pollExecutor, this + "#pollExecutor", Duration.ofSeconds(1))
6262
.exceptionally(
6363
e -> {

0 commit comments

Comments
 (0)