Cleanup, add comment

This commit is contained in:
zandercymatics 2023-10-25 08:29:39 -06:00
parent 736fe46ec3
commit a87519e615
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 3 additions and 1 deletions

View file

@ -540,6 +540,7 @@ EPP_CONNECTION_POOL_SIZE = 1
# Determines the interval in which we ping open connections in seconds # Determines the interval in which we ping open connections in seconds
# Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE # Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE
# WARNING: Setting this value too high could cause frequent app crashes!
POOL_KEEP_ALIVE = 60 POOL_KEEP_ALIVE = 60
# Determines how long we try to keep a pool alive for, # Determines how long we try to keep a pool alive for,

View file

@ -59,7 +59,7 @@ class Domain(TimeStampedModel, DomainHelper):
G) Activation is controlled by the registry. It will happen automatically when the G) Activation is controlled by the registry. It will happen automatically when the
domain meets the required checks. domain meets the required checks.
""" """
# test comment for pushing to sandbox - will remove
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
self._cache = {} self._cache = {}
super(Domain, self).__init__(*args, **kwargs) super(Domain, self).__init__(*args, **kwargs)

View file

@ -873,6 +873,7 @@ class TestRegistrantContacts(MockEppLib):
contact_id="regContact", contact_id="regContact",
contact_type=PublicContact.ContactTypeChoices.REGISTRANT, contact_type=PublicContact.ContactTypeChoices.REGISTRANT,
) )
self.assertEqual( self.assertEqual(
self.domain_contact.registrant_contact.email, expected_contact.email self.domain_contact.registrant_contact.email, expected_contact.email
) )