Skip to content

Commit

Permalink
Tweak keepalive settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Mar 29, 2023
1 parent 022c1ad commit 9cf6c81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ connection:
c.connecting = true
c.reconnect = false

//TODO: move to env
keepaliveOpts := keepalive.ClientParameters{
Time: 10 * time.Second,
Timeout: time.Second,
Time: 2 * time.Minute,
Timeout: 1 * time.Minute,
PermitWithoutStream: true,
}

Expand Down

0 comments on commit 9cf6c81

Please sign in to comment.