TLS cert rotation: reset retry counter after successful rotation
This commit is contained in:
parent
a60e6aac8a
commit
d7fa6ccf14
@ -231,6 +231,7 @@ class SyncFactory(Factory):
|
|||||||
|
|
||||||
self.options = contextFactory
|
self.options = contextFactory
|
||||||
self.serverAcceptsTLS = True
|
self.serverAcceptsTLS = True
|
||||||
|
self._TLSattempts = 0
|
||||||
print("TLS support is enabled.")
|
print("TLS support is enabled.")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.options = None
|
self.options = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user