feat(recommend): support caching by page

This commit is contained in:
InfinityPacer
2024-12-25 23:07:56 +08:00
parent 0ac43fd3c7
commit 6ec5f3b98b
2 changed files with 40 additions and 15 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ class Scheduler(metaclass=Singleton):
"interval",
id="recommend_refresh",
name="推荐缓存",
hours=6,
hours=24,
next_run_time=datetime.now(pytz.timezone(settings.TZ)) + timedelta(seconds=3),
kwargs={
'job_id': 'recommend_refresh'