Skip to content

Commit 0cab673

Browse files
committed
delete: remove some test settings
1 parent 7aca52d commit 0cab673

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

waterbutler/server/settings.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,5 @@
4444
RATE_LIMITING_FIXED_WINDOW_LIMIT = int(config.get('RATE_LIMITING_FIXED_WINDOW_LIMIT', 3600))
4545

4646
# test env envar mapping
47-
ENABLE_RATE_LIMITING = True
48-
49-
if settings.TEMP_REDIS_DOMAIN is not None:
50-
print('SETTING REDIS_DOMAIN to: "{}"'.format(settings.TEMP_REDIS_DOMAIN))
51-
REDIS_DOMAIN = settings.TEMP_REDIS_DOMAIN
52-
53-
if settings.TEMP_REDIS_PORT is not None:
54-
REDIS_PORT = settings.TEMP_REDIS_PORT
55-
5647
RATE_LIMITING_FIXED_WINDOW_SIZE = 360
5748
RATE_LIMITING_FIXED_WINDOW_LIMIT = 30

waterbutler/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,3 @@ def child(key):
184184
WEBDAV_METHODS = {'PROPFIND', 'MKCOL', 'MOVE', 'COPY'}
185185

186186
AIOHTTP_TIMEOUT = int(config.get('AIOHTTP_TIMEOUT', 3600)) # time in seconds
187-
188-
# test env envar mapping
189-
TEMP_REDIS_DOMAIN = config.get('S3WB_REDIS_PORT_6379_TCP_ADDR')
190-
TEMP_REDIS_PORT = config.get('S3WB_REDIS_PORT_6379_TCP_PORT')

0 commit comments

Comments
 (0)