From 9edb01ad32facb5df6685634529935ebd21c906e Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Wed, 14 Nov 2018 14:21:44 -0500 Subject: [PATCH] Reduce page size from 1000 to 100 1000 items per page is kind of big. 100 is still big but it's a better default number to start with. Change-Id: I2759fe14e638e784afd017018b0ecaa474e2d39a --- ara/server/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ara/server/settings.py b/ara/server/settings.py index d349121..03e39e3 100644 --- a/ara/server/settings.py +++ b/ara/server/settings.py @@ -122,7 +122,7 @@ LOGGING = { REST_FRAMEWORK = { "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination", - "PAGE_SIZE": 1000, + "PAGE_SIZE": 100, "DEFAULT_FILTER_BACKENDS": ("django_filters.rest_framework.DjangoFilterBackend",), "DEFAULT_RENDERER_CLASSES": ( "rest_framework.renderers.JSONRenderer",