Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
3b22ecd5
Commit
3b22ecd5
authored
Feb 09, 2018
by
Ben Langfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keepalive config should be independent of TLS
parent
588f7a84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tiller.go
cmd/tiller/tiller.go
+2
-1
No files found.
cmd/tiller/tiller.go
View file @
3b22ecd5
...
...
@@ -157,6 +157,8 @@ func start() {
logger
.
Fatalf
(
"Could not create server TLS configuration: %v"
,
err
)
}
opts
=
append
(
opts
,
grpc
.
Creds
(
credentials
.
NewTLS
(
cfg
)))
}
opts
=
append
(
opts
,
grpc
.
KeepaliveParams
(
keepalive
.
ServerParameters
{
MaxConnectionIdle
:
10
*
time
.
Minute
,
// If needed, we can configure the max connection age
...
...
@@ -164,7 +166,6 @@ func start() {
opts
=
append
(
opts
,
grpc
.
KeepaliveEnforcementPolicy
(
keepalive
.
EnforcementPolicy
{
MinTime
:
time
.
Duration
(
20
)
*
time
.
Second
,
// For compatibility with the client keepalive.ClientParameters
}))
}
rootServer
=
tiller
.
NewServer
(
opts
...
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment