From 9460422533a8138f1184c31777ac65211cce4f7c Mon Sep 17 00:00:00 2001 From: Alie Langston Date: Tue, 28 May 2024 14:24:09 -0400 Subject: [PATCH] feat: update timeout for course reindexing --- 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