From 6e7dcef7ee78334de7053e57e88983965a671867 Mon Sep 17 00:00:00 2001 From: Ali Akbar <52413434+Ali-D-Akbar@users.noreply.github.com> Date: Wed, 24 Apr 2024 21:05:58 +0500 Subject: [PATCH] Revert "chore: update elasticsearch page size to 15k (#4336)" (#4337) This reverts commit ec8966b01e4898b5051da95926e045c1fb688af9. --- course_discovery/settings/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course_discovery/settings/base.py b/course_discovery/settings/base.py index 9ba33591ea..aad79e5f81 100644 --- a/course_discovery/settings/base.py +++ b/course_discovery/settings/base.py @@ -461,11 +461,11 @@ # (by default it uses the database driver's default setting) # https://docs.djangoproject.com/en/3.1/ref/models/querysets/#iterator # Thus set the 'chunk_size' -ELASTICSEARCH_DSL_QUERYSET_PAGINATION = 15000 +ELASTICSEARCH_DSL_QUERYSET_PAGINATION = 10000 # Defining default pagination for all requests to ElasticSearch, # whose parameters 'size' and 'from' are not explicitly set. -ELASTICSEARCH_DSL_LOAD_PER_QUERY = 15000 +ELASTICSEARCH_DSL_LOAD_PER_QUERY = 10000 MAX_RESULT_WINDOW = 15000