diff options
author | morpheus65535 <[email protected]> | 2021-05-15 10:01:32 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-05-15 10:01:32 -0400 |
commit | dd8072adf8d80016c958ddf1b396e8f229adc52f (patch) | |
tree | 6a5e7ec8f9a1977fad52fd3f244845e082bfffe9 | |
parent | 44dd478c48fd394bac9fc7782c4c526dd26e7970 (diff) | |
download | bazarr-dd8072adf8d80016c958ddf1b396e8f229adc52f.tar.gz bazarr-dd8072adf8d80016c958ddf1b396e8f229adc52f.zip |
Switched to Gevent scheduler instead of background threaded.v0.9.6-beta.7
-rw-r--r-- | bazarr/scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr/scheduler.py b/bazarr/scheduler.py index 8cde8262c..36d18191d 100644 --- a/bazarr/scheduler.py +++ b/bazarr/scheduler.py @@ -12,7 +12,7 @@ if not args.no_update: from check_update import check_if_new_update, check_releases else: from check_update import check_releases -from apscheduler.schedulers.background import BackgroundScheduler +from apscheduler.schedulers.gevent import GeventScheduler from apscheduler.triggers.interval import IntervalTrigger from apscheduler.triggers.cron import CronTrigger from apscheduler.triggers.date import DateTrigger @@ -30,7 +30,7 @@ class Scheduler: def __init__(self): self.__running_tasks = [] - self.aps_scheduler = BackgroundScheduler() + self.aps_scheduler = GeventScheduler() # task listener def task_listener_add(event): |