Stop the background worker.
(self)
| 44 | print("Background worker started") |
| 45 | |
| 46 | def stop(self): |
| 47 | """Stop the background worker.""" |
| 48 | self.running = False |
| 49 | |
| 50 | def add_job(self, job_id: str, job: JobStatus): |
| 51 | """Add a job to the processing queue.""" |