Skip to content

Commit ed6591b

Browse files
authored
Merge pull request #6975 from readthedocs/humitos/remove-docker-limits
Remove DOCKER_LIMITS
2 parents ab63995 + f3a2ba7 commit ed6591b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

readthedocs/settings/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ def USE_PROMOS(self): # noqa
374374
DOCKER_SOCKET = 'unix:///var/run/docker.sock'
375375
# This settings has been deprecated in favor of DOCKER_IMAGE_SETTINGS
376376
DOCKER_BUILD_IMAGES = None
377-
DOCKER_LIMITS = {'memory': '200m', 'time': 600}
378377

379378
# User used to create the container.
380379
# In production we use the same user than the one defined by the

readthedocs/settings/test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ class CommunityTestSettings(CommunityDevSettings):
1919
ELASTICSEARCH_DSL_AUTOSYNC = False
2020
ELASTICSEARCH_DSL_AUTO_REFRESH = True
2121

22+
# Skip automatic detection of Docker limits for testing
23+
DOCKER_LIMITS = {'memory': '200m', 'time': 600}
24+
2225
@property
2326
def ES_INDEXES(self): # noqa - avoid pep8 N802
2427
es_indexes = super(CommunityTestSettings, self).ES_INDEXES

0 commit comments

Comments
 (0)