From 9b079954527dc188a833cccb632e10f6105d9792 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 12 Jun 2024 12:30:00 -0500 Subject: [PATCH] Change update interval to every 24h --- cid/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cid/main.py b/cid/main.py index 0764cd3..e4bbefe 100644 --- a/cid/main.py +++ b/cid/main.py @@ -51,7 +51,7 @@ def latest(db: Session = Depends(get_db)) -> Dict[str, Any]: # noqa: B008 } -@repeat(every(10).minutes) +@repeat(every(24).hours) def self_update_image_data() -> None: """Update the database with new image data.""" db = SessionLocal()