Skip to content

Commit bea4688

Browse files
committed
fix(goatlib): update thumbnail generation schedule to every 15 minutes
1 parent a30140d commit bea4688

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/python/goatlib/src/goatlib/tasks/generate_thumbnails.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
7. Deletes old thumbnails from S3
2121
2222
Usage:
23-
# As Windmill scheduled task (every 10 minutes):
24-
# Configured in registry with schedule="*/10 * * * *"
23+
# As Windmill scheduled task (every 15 minutes):
24+
# Configured in registry with schedule="*/15 * * * *"
2525
2626
# Manual execution:
2727
from goatlib.tasks.generate_thumbnails import ThumbnailTaskParams, main

packages/python/goatlib/src/goatlib/tasks/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_params_class(self: Self) -> type["BaseModel"]:
6868
module_path="goatlib.tasks.generate_thumbnails",
6969
params_class_name="ThumbnailTaskParams",
7070
windmill_path="f/goat/tasks/generate_thumbnails",
71-
schedule="0 */10 * * * *", # Every 10 minutes (Windmill uses 6-field cron)
71+
schedule="0 */15 * * * *", # Every 15 minutes (Windmill uses 6-field cron)
7272
worker_tag="print", # Uses print worker with Playwright
7373
),
7474
TaskDefinition(

0 commit comments

Comments
 (0)