added a comment

This commit is contained in:
David Kennedy 2024-02-02 14:10:45 -05:00
parent 248dd4adfc
commit 0b661f3714
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -86,6 +86,8 @@ class EPPConnectionPool(ConnectionPool):
raise PoolError(code=PoolErrorCodes.KEEP_ALIVE_FAILED) from err
def _keepalive_periodic(self):
"""Overriding _keepalive_periodic from geventconnpool so that PoolErrors
are properly handled, as opposed to printing to stdout"""
delay = float(self.keepalive) / self.size
while 1:
try: