Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Temporarily turn off scheduled image data refreshes, increase matview refresh timeout (#1036)

Staci Mullins6bc4e1f96549
diff --git a/DAGs.md b/DAGs.md
index 6979a3230..143328497 100644
--- a/DAGs.md
+++ b/DAGs.md
@@ -26,7 +26,7 @@ The following are DAGs grouped by their primary tag:
| DAG ID | Schedule Interval |
| ------------------------------------------- | ----------------- |
| [`audio_data_refresh`](#audio_data_refresh) | `@weekly` |
-| [`image_data_refresh`](#image_data_refresh) | `@weekly` |
+| [`image_data_refresh`](#image_data_refresh) | `None` |
## Database
diff --git a/openverse_catalog/dags/data_refresh/data_refresh_types.py b/openverse_catalog/dags/data_refresh/data_refresh_types.py
index 3b962c34a..e2fe3d740 100644
--- a/openverse_catalog/dags/data_refresh/data_refresh_types.py
+++ b/openverse_catalog/dags/data_refresh/data_refresh_types.py
@@ -59,9 +59,12 @@ class DataRefresh:
DATA_REFRESH_CONFIGS = [
DataRefresh(
media_type="image",
+ # Temporarily turn off scheduled runs for the image data refresh.
+ # This allows us to keep the DAG enabled for manual runs.
+ schedule=None,
data_refresh_timeout=timedelta(days=4),
refresh_metrics_timeout=timedelta(hours=24),
- refresh_matview_timeout=timedelta(hours=72),
+ refresh_matview_timeout=timedelta(days=6),
create_pop_constants_view_timeout=timedelta(hours=8),
create_materialized_view_timeout=timedelta(hours=5),
),