mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-21 20:35:05 +00:00
Change forced show updates process during startup to prevent webUI blocking.
This commit is contained in:
parent
e56303798c
commit
05146c0806
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
### 3.26.0 (2023-01-12 02:00:00 UTC)
|
||||
### 3.26.1 (2023-01-25 01:45:00 UTC)
|
||||
|
||||
* Change forced show updates process during startup to prevent webUI blocking
|
||||
|
||||
|
||||
### 3.26.0 (2023-01-12 02:00:00 UTC)
|
||||
|
||||
* Change bump to major version 3.xx to signal that this branch supports Python3+ only
|
||||
* Update Tornado Web Server 6.1.0 (2047e7a) to 6.2.0 (a4f08a3)
|
||||
|
|
|
@ -628,7 +628,9 @@ class SickGear(object):
|
|||
# Start an update if we're supposed to
|
||||
if not switching and (self.force_update or sickgear.UPDATE_SHOWS_ON_START):
|
||||
sickgear.classes.loading_msg.message = 'Starting a forced show update'
|
||||
sickgear.show_update_scheduler.action.run()
|
||||
background_start_forced_show_update = threading.Thread(name='STARTUP-FORCE-SHOW-UPDATE',
|
||||
target=sickgear.show_update_scheduler.action.run)
|
||||
background_start_forced_show_update.start()
|
||||
|
||||
sickgear.classes.loading_msg.message = 'Switching to default web server'
|
||||
time.sleep(2)
|
||||
|
|
Loading…
Reference in a new issue