mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-23 17:51:03 +02:00
added a comment
This commit is contained in:
parent
248dd4adfc
commit
0b661f3714
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ class EPPConnectionPool(ConnectionPool):
|
||||||
raise PoolError(code=PoolErrorCodes.KEEP_ALIVE_FAILED) from err
|
raise PoolError(code=PoolErrorCodes.KEEP_ALIVE_FAILED) from err
|
||||||
|
|
||||||
def _keepalive_periodic(self):
|
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
|
delay = float(self.keepalive) / self.size
|
||||||
while 1:
|
while 1:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue