mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
set DTHREADS as semaphore size
This commit is contained in:
parent
e510097193
commit
5522c93458
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ def _get_items(query, server_id=None):
|
|||
jobs = {}
|
||||
|
||||
# semaphore to avoid fetching complete library to memory
|
||||
thread_buffer = threading.Semaphore(LIMIT * DTHREADS)
|
||||
thread_buffer = threading.Semaphore(DTHREADS)
|
||||
|
||||
# wrapper function for _get that uses a semaphore
|
||||
def get_wrapper(params):
|
||||
|
|
Loading…
Reference in a new issue