diff --git a/backend/utils/pagination.py b/backend/utils/pagination.py index 24fa5af..6b68b17 100644 --- a/backend/utils/pagination.py +++ b/backend/utils/pagination.py @@ -19,7 +19,7 @@ class DynamicMultiOrderingCursorPagination(CursorPagination): cursor_query_param = "next_token" ordering_param = "order_by" page_size_query_param = "page_size" - max_page_size = 1000 + max_page_size = 500 def get_ordering(self, request, queryset, view): default_order_by = list(queryset.query.order_by) diff --git a/frontend/src/views/browser/index.jsx b/frontend/src/views/browser/index.jsx index 48f5150..8b1dcd3 100644 --- a/frontend/src/views/browser/index.jsx +++ b/frontend/src/views/browser/index.jsx @@ -13,7 +13,7 @@ import API from '../../services/api' import { buildTree } from '../../utils/ops' const Browser = () => { - const defaultPageSize = 1000 + const defaultPageSize = 500 const [isLoadingDatasets, setIsLoadingDatasets] = useState(true) const [datasets, setDatasets] = useState()