mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
lnworker: clear peer retry times if proxy settings change
maybe there were failures due to the previous proxy details being incorrect
This commit is contained in:
parent
95fa5d37c3
commit
82da581d45
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ class LNWorker(Logger, NetworkRetryManager[LNPeerAddr]):
|
|||
def on_proxy_changed(self, event, *args):
|
||||
for peer in self.peers.values():
|
||||
peer.close_and_cleanup()
|
||||
self._clear_addr_retry_times()
|
||||
|
||||
|
||||
class LNGossip(LNWorker):
|
||||
|
|
Loading…
Add table
Reference in a new issue