From e1b28ba4fe120e0bde01b8ff4b0b171b2d594171 Mon Sep 17 00:00:00 2001 From: John Nagro Date: Thu, 11 Jan 2024 13:21:08 +0000 Subject: [PATCH] feat: increase the update_content_metadata timeout --- enterprise_catalog/apps/catalog/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise_catalog/apps/catalog/constants.py b/enterprise_catalog/apps/catalog/constants.py index 58ee9e287..4d1467762 100644 --- a/enterprise_catalog/apps/catalog/constants.py +++ b/enterprise_catalog/apps/catalog/constants.py @@ -80,7 +80,7 @@ # Async task constants REINDEX_TASK_BATCH_SIZE = 10 TASK_BATCH_SIZE = 250 -TASK_TIMEOUT = 2 * 60 * 60 # Gives tasks (usually chains) 2 hours to return before timing out +TASK_TIMEOUT = 3 * 60 * 60 # Gives tasks (usually chains) 3 hours to return before timing out # Which fields should be plucked from the /search/all course-discovery API # response in `update_catalog_metadata_task` for course content metadata?