reworked the celery task management

This commit is contained in:
Kamil
2024-12-04 22:22:04 +00:00
parent e2d37b77b0
commit 1ee0087b8f
8 changed files with 95 additions and 87 deletions

View File

@@ -160,10 +160,6 @@ app.logger.debug(f"Debug logging active")
from app.routes import pl_bp, routes, jellyfin_routes
app.register_blueprint(pl_bp)
from . import tasks
if "worker" in sys.argv:
tasks.release_lock("download_missing_tracks_lock")
from app import filters # Import the filters dictionary
# Register all filters