Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ro0r committed Sep 7, 2023
1 parent caa9600 commit bd85a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privval/signer_listener_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (sl *SignerListenerEndpoint) OnStart() error {
sl.connectionAvailableCh = make(chan net.Conn)

// NOTE: ping timeout must be less than read/write timeout
sl.pingInterval = time.Duration(sl.signerEndpoint.timeoutReadWrite.Milliseconds()*2/3) * time.Millisecond
sl.pingInterval = time.Duration(sl.signerEndpoint.timeoutReadWrite.Milliseconds()*1/2) * time.Millisecond
sl.pingTimer = time.NewTicker(sl.pingInterval)

go sl.serviceLoop()
Expand Down

0 comments on commit bd85a1b

Please sign in to comment.