Skip to content

Commit 9309912

Browse files
committed
refactor: change default page size to 15
okay so it seems sorting then ordering by `ended` is really messing up the DB we need an index with tags + batch_ended, let's see if that is viable... but for now, with the current optimizations and paging to 15 EG is already pretty faster
1 parent 2830338 commit 9309912

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

editgroups/settings/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
'rest_framework.renderers.JSONRenderer',
111111
),
112112
'DEFAULT_PAGINATION_CLASS': 'store.pagination.PaginationWithoutCounts',
113-
'PAGE_SIZE': 50,
113+
'PAGE_SIZE': 15,
114114
'DEFAULT_AUTHENTICATION_CLASSES': (
115115
'rest_framework.authentication.BasicAuthentication',
116116
'rest_framework.authentication.SessionAuthentication',

0 commit comments

Comments
 (0)