mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Improve startup speed by refreshing on a separate thread
This commit is contained in:
parent
8157ee7811
commit
558023e18e
5 changed files with 122 additions and 77 deletions
|
@ -122,7 +122,8 @@ def add_live_tv_library(refresh=False):
|
|||
if result and not refresh or not result and refresh:
|
||||
return
|
||||
|
||||
logger.info("Tautulli Libraries :: Adding Live TV library to the database.")
|
||||
if not refresh:
|
||||
logger.info("Tautulli Libraries :: Adding Live TV library to the database.")
|
||||
|
||||
section_keys = {'server_id': plexpy.CONFIG.PMS_IDENTIFIER,
|
||||
'section_id': common.LIVE_TV_SECTION_ID}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue