mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-12 14:08:28 +02:00
Linter
This commit is contained in:
parent
d7c7fb9d23
commit
b6921b3f4c
2 changed files with 1 additions and 6 deletions
|
@ -2,21 +2,16 @@ from unittest import skip
|
|||
from unittest.mock import MagicMock, patch
|
||||
from django.conf import settings
|
||||
|
||||
from django.test import Client
|
||||
from django.test import TestCase
|
||||
from epplibwrapper.client import EPPLibWrapper
|
||||
from epplibwrapper.utility.pool import EPPConnectionPool
|
||||
from registrar.models.domain import Domain
|
||||
from registrar.tests.common import MockEppLib
|
||||
from registrar.models.domain import registry
|
||||
|
||||
import logging
|
||||
|
||||
try:
|
||||
from epplib.client import Client
|
||||
from epplib import commands
|
||||
from epplib.exceptions import TransportError
|
||||
from epplib.responses import base
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
|
|
@ -546,7 +546,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
|
||||
POOL_KEEP_ALIVE = 60 # Ping every 20 seconds
|
||||
POOL_KEEP_ALIVE = 60
|
||||
|
||||
# Determines how long we try to keep a pool alive for,
|
||||
# before restarting it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue