From 8e8a319d363738a18511b21619f2d26c579abaa7 Mon Sep 17 00:00:00 2001 From: Krystle Salazar Date: Mon, 4 Sep 2023 22:07:31 -0400 Subject: [PATCH] Increase timeout of filtered index creation action --- ingestion_server/ingestion_server/indexer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ingestion_server/ingestion_server/indexer.py b/ingestion_server/ingestion_server/indexer.py index 39d975b9349..1912f818ac0 100644 --- a/ingestion_server/ingestion_server/indexer.py +++ b/ingestion_server/ingestion_server/indexer.py @@ -525,6 +525,8 @@ def create_and_populate_filtered_index( # 10k derived from in-production testing # See https://github.com/WordPress/openverse/issues/2963 requests_per_second=15_000, + # Temporary workaround to allow the action to complete. + request_timeout=48 * 3600, ) self.refresh(index_name=destination_index, change_settings=True)