Limit the number of threads of the api

This commit is contained in:
Zoe Roux 2023-11-03 16:24:03 +01:00
parent b995b86cee
commit 0eb7a58494

View File

@ -4,6 +4,9 @@
<AssemblyName>Kyoo.Host</AssemblyName>
<RootNamespace>Kyoo.Host</RootNamespace>
<StartupObject>Kyoo.Host.Program</StartupObject>
<!-- Limit the number of threads, the default is to not limit so scanning the library
create way too many of them and slows the whole server. -->
<ThreadPoolMaxThreads>50</ThreadPoolMaxThreads>
</PropertyGroup>
<ItemGroup>