move validate_thumbnails out of startup has it's own schedule now

This commit is contained in:
simon 2021-12-16 21:20:14 +07:00
parent f6159a48d5
commit 23f9894154
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -6,7 +6,6 @@ from django.apps import AppConfig
from home.src.config import AppConfig as ArchivistConfig from home.src.config import AppConfig as ArchivistConfig
from home.src.helper import RedisArchivist from home.src.helper import RedisArchivist
from home.src.index_management import index_check from home.src.index_management import index_check
from home.src.thumbnails import validate_thumbnails
def sync_redis_state(): def sync_redis_state():
@ -62,4 +61,3 @@ class HomeConfig(AppConfig):
index_check() index_check()
sync_redis_state() sync_redis_state()
make_folders() make_folders()
validate_thumbnails()