diff --git a/src/registrar/config/settings.py b/src/registrar/config/settings.py index 5506bbcaf..e4c4ae1f8 100644 --- a/src/registrar/config/settings.py +++ b/src/registrar/config/settings.py @@ -540,6 +540,7 @@ EPP_CONNECTION_POOL_SIZE = 1 # Determines the interval in which we ping open connections in seconds # Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE +# WARNING: Setting this value too high could cause frequent app crashes! POOL_KEEP_ALIVE = 60 # Determines how long we try to keep a pool alive for, diff --git a/src/registrar/models/domain.py b/src/registrar/models/domain.py index 457f3305c..2bfdd58c5 100644 --- a/src/registrar/models/domain.py +++ b/src/registrar/models/domain.py @@ -59,7 +59,7 @@ class Domain(TimeStampedModel, DomainHelper): G) Activation is controlled by the registry. It will happen automatically when the domain meets the required checks. """ - # test comment for pushing to sandbox - will remove + def __init__(self, *args, **kwargs): self._cache = {} super(Domain, self).__init__(*args, **kwargs) diff --git a/src/registrar/tests/test_models_domain.py b/src/registrar/tests/test_models_domain.py index 3024aeaba..ef3084f9c 100644 --- a/src/registrar/tests/test_models_domain.py +++ b/src/registrar/tests/test_models_domain.py @@ -873,6 +873,7 @@ class TestRegistrantContacts(MockEppLib): contact_id="regContact", contact_type=PublicContact.ContactTypeChoices.REGISTRANT, ) + self.assertEqual( self.domain_contact.registrant_contact.email, expected_contact.email )