forked from TrueCloudLab/frostfs-node
[#674] network: Close connections on address updates
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
7456c8556a
commit
a54b4472de
1 changed files with 1 additions and 0 deletions
1
pkg/network/cache/multi.go
vendored
1
pkg/network/cache/multi.go
vendored
|
@ -130,6 +130,7 @@ loop:
|
||||||
continue loop
|
continue loop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
x.clients[a].invalidate()
|
||||||
delete(x.clients, a)
|
delete(x.clients, a)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue