From 791e317085454f393d0c3c75a4d6cd27ec604a8f Mon Sep 17 00:00:00 2001 From: Alison Langston <46360176+alangsto@users.noreply.github.com> Date: Tue, 28 May 2024 15:31:05 -0400 Subject: [PATCH] feat: update timeout for course reindexing (#34866) --- cms/djangoapps/contentstore/courseware_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/courseware_index.py b/cms/djangoapps/contentstore/courseware_index.py index dc28774c50f7..48647bf47bc6 100644 --- a/cms/djangoapps/contentstore/courseware_index.py +++ b/cms/djangoapps/contentstore/courseware_index.py @@ -278,7 +278,7 @@ def _do_reindex(cls, modulestore, structure_key): (Re)index all content within the given structure (course or library), tracking the fact that a full reindex has taken place """ - indexed_count = cls.index(modulestore, structure_key) + indexed_count = cls.index(modulestore, structure_key, timeout=180) if indexed_count: cls._track_index_request(cls.INDEX_EVENT['name'], cls.INDEX_EVENT['category'], indexed_count) return indexed_count