Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eingang-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
eingang-manager
Commits
3829a206
Commit
3829a206
authored
8 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-6354 fix typo
parent
aab714c7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
router/src/main/java/de/ozgcloud/eingang/router/ClosableStub.java
+2
-2
2 additions, 2 deletions
...rc/main/java/de/ozgcloud/eingang/router/ClosableStub.java
with
2 additions
and
2 deletions
router/src/main/java/de/ozgcloud/eingang/router/ClosableStub.java
+
2
−
2
View file @
3829a206
...
@@ -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
SHUTDOW
M
_TIME_IN_SEC
=
3
;
private
static
final
int
SHUTDOW
N
_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
.
SHUTDOW
M
_TIME_IN_SEC
,
TimeUnit
.
SECONDS
);
channel
.
shutdown
().
awaitTermination
(
ClosableStub
.
SHUTDOW
N
_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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment