Przeglądaj źródła

Remove dead code

jherve 1 rok temu
rodzic
commit
6db4c161fb
1 zmienionych plików z 0 dodań i 6 usunięć
  1. 0 6
      src/media_observer/__main__.py

+ 0 - 6
src/media_observer/__main__.py

@@ -46,11 +46,6 @@ class Job(ABC):
         logger.log(level, f"[{self.id_}] {msg}")
 
 
-class StupidJob(Job):
-    async def execute(self, *args, **kwargs):
-        logger.info(f"Executing job {self.id_}..")
-
-
 def unique_id():
     return uuid1()
 
@@ -449,7 +444,6 @@ class MediaObserverApplication:
             new_embeddings_event,
         )
         index = SimilarityIndexWorker(storage, new_embeddings_event)
-        watchdog = SnapshotWatchdog(SnapshotSearchJob.queue)
         return MediaObserverApplication(snapshots_workers, web_server, embeds, index)