From 9fb9bd447abf2420d89a47884875c9b36d9fa526 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Wed, 31 Mar 2021 19:52:47 +0300 Subject: [PATCH] remove throttling --- sikweb/base.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sikweb/base.py b/sikweb/base.py index 060f2c8..71ebf2d 100644 --- a/sikweb/base.py +++ b/sikweb/base.py @@ -187,14 +187,14 @@ REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework_jwt.authentication.JSONWebTokenAuthentication', ), - 'DEFAULT_THROTTLE_CLASSES': ( - 'members.throttles.BurstRateThrottle', - 'members.throttles.SustainedRateThrottle' - ), - 'DEFAULT_THROTTLE_RATES': { - 'burst': '60/min', - 'sustained': '1000/day' - }, + # 'DEFAULT_THROTTLE_CLASSES': ( + # 'members.throttles.BurstRateThrottle', + # 'members.throttles.SustainedRateThrottle' + # ), + # 'DEFAULT_THROTTLE_RATES': { + # 'burst': '60/min', + # 'sustained': '1000/day' + # }, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 1000, 'DEFAULT_FILTER_BACKENDS': (