mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
api: Allow reconnection of policy/notification rpc clients. (#3368)
Since we moved out reconnection logic from net-rpc-client.go we should do it from the top-layer properly and bring back the code to reconnect properly in-case the connection is lost.
This commit is contained in:
@@ -71,8 +71,8 @@ func makeS3Peers(eps []*url.URL) s3Peers {
|
||||
}
|
||||
|
||||
ret = append(ret, s3Peer{
|
||||
ep.Host,
|
||||
&remoteBucketMetaState{newAuthClient(&cfg)},
|
||||
addr: ep.Host,
|
||||
bmsClient: &remoteBucketMetaState{newAuthClient(&cfg)},
|
||||
})
|
||||
seenAddr[ep.Host] = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user