This commit is contained in:
2026-04-26 18:07:29 +02:00
parent 5bb5b29f33
commit 922d89bf8d
9 changed files with 79 additions and 30 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ import asyncio
from celery import shared_task, group, chord, chain
from celery.utils.log import get_task_logger
from django.utils import timezone
from django.conf import settings
from .process import ScannerProcess, ReplayProcess
from .export_tasks import shm_download_video, export_images_zip, export_video_mp4
@@ -19,7 +18,7 @@ class ScannerTaskManager:
def start_scanner(self):
if self.scanner is None:
self.scanner = ScannerProcess(use_tracking=settings.TRACKING)
self.scanner = ScannerProcess()
self.scanner.start()
def stop_scanner(self):