Sync dev changes into release-1.0
This commit is contained in:
@@ -19,6 +19,8 @@ from .routers.branding import router as branding_router
|
||||
from .routers.status import router as status_router
|
||||
from .routers.feedback import router as feedback_router
|
||||
from .services.jellyfin_sync import run_daily_jellyfin_sync
|
||||
from .services.jellyseerr_sync import run_jellyseerr_sync_loop
|
||||
from .services.expiry import run_expiry_loop
|
||||
from .logging_config import configure_logging
|
||||
from .runtime import get_runtime_settings
|
||||
|
||||
@@ -43,10 +45,12 @@ async def startup() -> None:
|
||||
runtime = get_runtime_settings()
|
||||
configure_logging(runtime.log_level, runtime.log_file)
|
||||
asyncio.create_task(run_daily_jellyfin_sync())
|
||||
asyncio.create_task(run_jellyseerr_sync_loop())
|
||||
asyncio.create_task(startup_warmup_requests_cache())
|
||||
asyncio.create_task(run_requests_delta_loop())
|
||||
asyncio.create_task(run_daily_requests_full_sync())
|
||||
asyncio.create_task(run_daily_db_cleanup())
|
||||
asyncio.create_task(run_expiry_loop())
|
||||
|
||||
|
||||
app.include_router(requests_router)
|
||||
|
||||
Reference in New Issue
Block a user