Skip to content

Commit

Permalink
feat: update timeout for course reindexing (#34866)
Browse files Browse the repository at this point in the history
  • Loading branch information
alangsto authored May 28, 2024
1 parent 4085066 commit 791e317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/courseware_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 791e317

Please sign in to comment.