Skip to content
Snippets Groups Projects
Commit 30b0dfd9 authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-6354 fix typo

parent 9d42e1e2
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ import lombok.Builder; ...@@ -11,7 +11,7 @@ import lombok.Builder;
@Builder @Builder
class ClosableStub<T extends AbstractStub<?>> implements ManagableStub<T> { class ClosableStub<T extends AbstractStub<?>> implements ManagableStub<T> {
private static final int SHUTDOWM_TIME_IN_SEC = 3; private static final int SHUTDOWN_TIME_IN_SEC = 3;
private T stub; private T stub;
private ManagedChannel channel; private ManagedChannel channel;
...@@ -30,7 +30,7 @@ class ClosableStub<T extends AbstractStub<?>> implements ManagableStub<T> { ...@@ -30,7 +30,7 @@ class ClosableStub<T extends AbstractStub<?>> implements ManagableStub<T> {
private void shutdownChannel() { private void shutdownChannel() {
try { try {
channel.shutdown().awaitTermination(ClosableStub.SHUTDOWM_TIME_IN_SEC, TimeUnit.SECONDS); channel.shutdown().awaitTermination(ClosableStub.SHUTDOWN_TIME_IN_SEC, TimeUnit.SECONDS);
} catch (InterruptedException e) { } catch (InterruptedException e) {
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
throw new TechnicalException("Error shutting down grpc channel.", e); throw new TechnicalException("Error shutting down grpc channel.", e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment