Explorar o código

refactor(peerserver): remove timeouts from PeerServerConfig

Brian Waldon %!s(int64=12) %!d(string=hai) anos
pai
achega
19980a7033
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      server/peer_server.go

+ 0 - 2
server/peer_server.go

@@ -30,8 +30,6 @@ type PeerServerConfig struct {
 	Scheme           string
 	URL              string
 	SnapshotCount    int
-	HeartbeatTimeout time.Duration
-	ElectionTimeout  time.Duration
 	MaxClusterSize   int
 	RetryTimes       int
 }