Skip to content

Commit 843dc1c

Browse files
committed
Merge commit '183d867505daff75cd1f3224cae95a86d223af7d' into develop
2 parents 9bdea08 + 183d867 commit 843dc1c

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

backend/cmd/config.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ udp_tag = "UDP"
2121
mtu = 1500
2222
interface = "lo"
2323
# blcu_ack_id = "blcu_ack"
24-
keep_alive_interval = "1s"
25-
keep_alive_probes = 3
2624
timeout = "1s"
2725

2826
[vehicle.messages]

backend/pkg/transport/network/tcp/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func NewClient(local net.Addr) ClientConfig {
6060
return ClientConfig{
6161
Dialer: net.Dialer{
6262
Timeout: time.Second,
63-
KeepAlive: -1,
63+
KeepAlive: 1,
6464
LocalAddr: local,
6565
},
6666

backend/pkg/transport/network/tcp/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type ServerConfig struct {
2727
func NewServer(targets map[address]abstraction.TransportTarget) ServerConfig {
2828
return ServerConfig{
2929
ListenConfig: net.ListenConfig{
30-
KeepAlive: -1,
30+
KeepAlive: 1,
3131
},
3232

3333
Context: context.TODO(),

0 commit comments

Comments
 (0)