Skip to content

Commit

Permalink
Change update interval to every 24h
Browse files Browse the repository at this point in the history
  • Loading branch information
major committed Jun 12, 2024
1 parent 3873128 commit 9b07995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9b07995

Please sign in to comment.